Nonlinear State-Space simulation
조회 수: 71 (최근 30일)
이전 댓글 표시
Hello everyone,
I have to simulate this nos linear sistem
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/298908/image.jpeg)
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?
댓글 수: 0
답변 (1개)
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!
참고 항목
카테고리
Help Center 및 File Exchange에서 Linearization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!