Nonlinear State-Space simulation

133 ビュー (過去 30 日間)
Estela Nieto
Estela Nieto 2020 年 5 月 23 日
コメント済み: Estela Nieto 2020 年 5 月 25 日
Hello everyone,
I have to simulate this nos linear sistem
where k0= 1x10^-4,x1, x2 and x3 are the states and u(t) is the control input.
Could you tell me plese how to simulate this system either using Matlab or Simulink?

回答 (1 件)

Gautam
Gautam 2020 年 5 月 24 日
1) You can use ode45 for solving these equations in MATLAB (Refer the examples here to understand how to use ode45 for solving non-linear differential equations: )
2) For simulink implementation: Refer this blogpost https://blogs.mathworks.com/simulink/2008/05/23/how-to-draw-odes-in-simulink/ . Although this talks about a simple homogenous ODE, the example can be extended to solve your equations.
Goodluck!
  1 件のコメント
Estela Nieto
Estela Nieto 2020 年 5 月 25 日
Thank you very much :)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinearization についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by