How do I solve an ordinary differential equation in matlab and plot the numerical and analytical solution for it?
1 view (last 30 days)
Show older comments
I have a differential equation and I want to solve it and also plot the numerical and analytical solution. How can I do that in MATLAB?
1 Comment
Shashank Prasanna
on 5 Sep 2013
Edited: Shashank Prasanna
on 5 Sep 2013
What have you tried already? If you haven't, then start by searching for ode solvers in the MATLAB documentation. Look for ODE45 to start with.
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!