How to plot differential equations?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
John D'Errico
2021-11-16
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Two y-axis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!