f = @(t,y) [y(2); y(3); -y(3)-y(2)-y(1)+y(1)^2];[t,y] = ode45(f,[0 30],[1;5;10]);
MatLab is telling me that it can't meet the integration tolerances, what can I do to fix this?
nonlinearode45
f = @(t,y) [y(2); y(3); -y(3)-y(2)-y(1)+y(1)^2];[t,y] = ode45(f,[0 30],[1;5;10]);
Best Answer