How do I solve an ordinary differential equation in matlab and plot the numerical and analytical solution for it?

1 view (last 30 days)
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
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!