MATLAB的简单应用输入方式:(1)求一阶导数dy=diff(y)或:dy=diff(y,v)(2)求高阶导数dy=diff(y,n)或:dy=diff(y,v,n)