How to plot differential equations?
1 view (last 30 days)
Show older comments
I have a few differential equations with given values , and I want to plot these equation. What should I do to plot? Because I have typed the equations in matlab, but do i have to mention these equations again in order to do plotting?
here are my equations:

And assume N = 10^6, alpha = 0.1, beta = 0.3, gamma = 0.75, delta = 0.9, epsilon = 1.1, zeta = 10000.
1 Comment
John D'Errico
on 16 Nov 2021
Do you have to mention them? Um, yes. You need to learn to use a differential equation solver. For this, it might be ODE45, as a start. If you read the help for that tool, it will give examples of use. I would suggest you try it for a SMALL, SIMPLE problem, one where you know the solution in advance. Then you will get an idea if you have used it properly.
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!