Feeds
提问
When I use ode45 to solve a state space equation, the solution will be diverge. Interestingly, if I set the ma (which I've overstriked) to zero, the result will be converge.
clear clc xm_init = [0.09 0 0 0 0 0]; [t, xm] = ode45(@simplified_model, [0,200], xm_init); plot(t,xm(:,1)) function dxm = ...
2 years 前 | 1 个回答 | 0
