code for Adams Bashforth

4 vues (au cours des 30 derniers jours)
Mariam Gasra
Mariam Gasra le 15 Avr 2019
Commenté : Jan le 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 commentaire
Jan
Jan le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by