Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Using ODE45 to solve matrix/vector form of state space equations

2 ビュー (過去 30 日間)
Reed Garion Williams
Reed Garion Williams 2018 年 3 月 14 日
閉鎖済み: Birdman 2018 年 3 月 14 日
I currently have two state space equations in matrix/vector form
The first is Ydot4=[a 0 0 0;0 0 0 0; 0 0 b 0;0 0 0 0 c]*[y1;y2;y3;y4]
The second is Ydot2= [d 0 0 0;0 e 0 0;0 0 f 0;0 0 0 g]*[y1;y2;y3;y4]+[h 0 0 0]*V0(t)
I would like to know how to solve these equations using ODE45 over a timespan of 0 to 1 seconds with intervals of 1ms. And V0(t)=5cos(40t)

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by