How to represent this state space form in Simulink model?
1 view (last 30 days)
Show older comments
With the orginal mathematical equation I got this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/904125/image.png)
and build the Matrix
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/904130/image.png)
How should I build my Simulink Model accordingly for a 4th-order system it should have 4 integrator, but according to x4dot, there are x2steady-state missing, here is what I have now for my model![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/904135/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/904135/image.png)
How should I modify the red area I mard to get the desired output response
0 Comments
Answers (1)
Andy Bartlett
on 24 Feb 2022
Drop 4 integrators (1/s) into your model, do not connect them to anything yet.
Draw signal wires leading in and out of each integrator.
Enter names for each signal wire like so
Integrator Input Label Output Label
1st x1_dot x1
2nd x2_dot x2
3rd x3_dot x3
4th x4_dot x4
Use your four equations dx1/dt, ... dx4/dt
to quide what signals and operations should be wired together to form the signal x1_dot, ... x4_dot
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!