Info
此问题已关闭。 请重新打开它进行编辑或回答。
Using ODE45 to solve matrix/vector form of state space equations
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!