MATLAB Answers

how to solve this matrix by adams bashforth matlab

2 views (last 30 days)
Mariam Gasra
Mariam Gasra on 2 May 2019
Commented: Jan on 3 May 2019
lamda1=0.2;
mu1=1-lamda1;
lamda2=0.3;
mu2=1-lamda2;
A=[-(lamda1+lamda2) mu2 mu1 0;lamda2 -(mu2+lamda1) 0 mu1;lamda1 0 -(lamda2+mu1) mu2;0 lamda1 lamda2 -(mu1+mu2)];
B=[1;0;0;0];
C=A*B;
how can i get the C matrix by adams bashforth matlab
  3 Comments
Jan
Jan on 3 May 2019
See my comment to your question asking for the Runge Kutta method:
An ODE integrator computes an approximated solution of an initial value problem of an ordinary equation system. Here you provide some code to compute a matrix. So there is no need to call in integrator anymore.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by