code for Adams Bashforth

3 Ansichten (letzte 30 Tage)
Mariam Gasra
Mariam Gasra am 15 Apr. 2019
Kommentiert: Jan am 3 Mai 2019
lamda1=0.2;
mu1=1-lamda1;
lamda2=0.3;
mu2=1-lamda2;
lamda3=0.5;
mu3=1-lamda3;
A1=lamda1+lamda2+lamda3;
A2=lamda1+lamda2+mu3;
A3=lamda1+mu2+lamda3;
A4=lamda1+mu2+mu3;
A5=mu1+lamda2+lamda3;
A6=mu1+lamda2+mu3;
A7=mu1+mu2+lamda3;
A8=mu1+mu2+mu3;
Q=[-A1 mu3 mu2 0 mu1 0 0 0;lamda3 -A2 0 mu2 0 mu1 0 0;lamda2 0 -A3 mu3 0 0 mu1 0;0 lamda2 lamda3 -A4 0 0 0 mu1;lamda1 0 0 0 -A5 mu3 mu2 0;0 lamda1 0 0 lamda3 -A6 0 mu2;0 0 lamda1 0 lamda2 0 -A7 mu3;0 0 0 lamda1 0 lamda2 lamda3 -A8];
P=[1;0;0;0;0;0;0;0];
how can i found Q*P by Adams Bashforth ?
  1 Kommentar
Jan
Jan am 3 Mai 2019
The question is not meaningful: All you have to do is to write Q*P, so there is no need for an integrator.
You have posted a bunch of unclear question in the forum now. Please care for adding the details which are required to understand, what you want to do.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by