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.
742 Solvers
934 Solvers
Sum all integers from 1 to 2^n
8653 Solvers
172 Solvers
464 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!