www.gusucode.com > 直流电机拖动系统simulink仿真源码程序 > code/fun2_3.m

     function xdot=fun2_3(t,x)
 xdot1=-0.001*x(1)*x(2);
 xdot1(2)=0.001*x(1)*x(2)-0.072*x(2);
 xdot1(3)=0.072*x(2);
 xdot=xdot1';