Effacer les filtres
Effacer les filtres

How to plot differential equations?

3 vues (au cours des 30 derniers jours)
Wenchen Liu
Wenchen Liu le 16 Nov 2021
Commenté : John D'Errico le 16 Nov 2021
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 commentaire
John D'Errico
John D'Errico le 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by