How to create a state space model and/or model using transfer function from an existing Simulink model? to replicate the results from simulink

1 次查看(过去 30 天)
Trying to model and replicate the results from simulink model using State space modelling and using Transfer functions.
Is it possible to directly covert my simlink models to replicate the results in the respective modelling methods?
if not, Is it possible to get the A,B,C,D differential equations from the simulink and model the SS after?
and Is it possible to get the equations for the TF model from simulink?
My Simulink model has three subsystems.
Do let me know if you need further infomation.
Any advise on how to approch or material that could help me understand will be great
Thanks for your time

回答(1 个)

Prasad Parameswaran
Prasad Parameswaran 2019-10-23
You can use the input output data of the simulunk model to identify the system using "iddata". Refer:https://in.mathworks.com/help/ident/ref/iddata.html
Find transfer function of the sysytem using "tfest" function. Refer: https://in.mathworks.com/help/ident/ref/tfest.html
Once you have the trasfer function use "tf2ss" function to get the state space representation. Refer: https://in.mathworks.com/help/signal/ref/tf2ss.html

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by