It looks like [y;y']=[a,b] would mean y(0)=a and y'(0)=b, but a first order differential equation should have one initial condition y(t0)=y0.
Thanks Tim, yes, I did a mistake in the equation, its a 2nd order.
Find state names that end with the letter A
718 Solvers
Count from 0 to N^M in base N.
220 Solvers
287 Solvers
Flag largest magnitude swings as they occur
588 Solvers
126 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!