Feeds
提问
The 'diff()' function is running incorrectly in this program (Error using diff Difference order N must be a positive integer scalar)
T_stop=10; T_sample = 0.002; x0 = [0;0;1/2*pi;0]; options=odeset('RelTol',1.0e-6,'AbsTol',1.0e-6,'BDF','on'); [t,x]=ode45(...
3 years 前 | 2 个回答 | 0