What are the possible ways to solve the following set of equations?
1 回表示 (過去 30 日間)
古いコメントを表示
My equations are as follows:
Algebraic Equations
b1=((b1+(1-exp(-b3))))
b2=b1-y(1)
b3=b1+b2+y(2)
Ordinary Differential Equations
dy(1)=-b1*y(1);
dy(2)=b3*y(1)+b2*y(2);
dy(3)=sqrt(b1)+y(1)+y(3);
Initial Values
b1=1,
b2=0,
b3=3
y1=1,
y2=3,
y3=0
I do not wish to substitute the values of any equation into some other equation. That is, I do not want to simplify it. How do I solve this? I have tried various techniques but I just cannot pass initial values for those algebraic equations. I want the code to calculate new b1 b2 b3 for every time step corresponding to the y value.
Thanks!
2 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!