how to solve this matrix by adams bashforth matlab

2 views (last 30 days)
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
Walter Roberson
Walter Roberson on 3 May 2019
https://www.mathworks.com/matlabcentral/fileexchange/63034-adams-bashforth-moulton-method
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)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!