How to plot differential equations?

4 visualizzazioni (ultimi 30 giorni)
Wenchen Liu
Wenchen Liu il 16 Nov 2021
Commentato: John D'Errico il 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 Commento
John D'Errico
John D'Errico il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Two y-axis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by