Entering state space model into matlab and using ode45 for non-linear thrust force

3 ビュー (過去 30 日間)
Griffin Polglaze
Griffin Polglaze 2019 年 9 月 11 日
I'm doing an assignment and haven't really used MATLAB before. Firstly, I have put the equations of motion into state space form so I was just wondering how to write it into the MATLAB script. I have attached a photo of my input matrix.
Secondly, I need to put the thrust force into ode45 but I'm having issues doing it. I believe the reason why is because of the nature of the thrust force. If anyone could direct me in the correct direction as to how I should use the ode45 function to tackle the thrust force it'd be greatly appreciated. I have already plotted the thrust force in a separate script so I just need to call it. Here is a photo of the thrust force.

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by