- Design your system in Simulink accurately using the appropriate blocks.
- Linearize your system using MATLAB functions such as linearize('YourSimulinkModel') to get a linear model approximation.
- Convert the linear model to a transfer function using MATLAB's tf function, like [num,den] = tfdata(sys,'v'), where sys is your linearized system.
- Create a script to plot the root locus for various parameters using the obtained transfer function coefficients (num and den) with commands like sys_tf = tf(num,den); rlocus(sys_tf).
How to get transfer function from circuit in simulink without exact values
101 views (last 30 days)
Show older comments
Hello,
i would like to ask if there is any way to obtain transfer function just by drawing circuit in simulink? I want TF expressed like this:
(video from matlab team) -> https://youtu.be/EXzTgGPdfzs?feature=shared&t=261
So i can make script for plotting root locus for various loads at the output.
thanks
0 Comments
Answers (1)
Pratyush
on 12 Apr 2024
Hi ahmed,
To obtain a transfer function from a Simulink model, follow these summarized steps:
Hope this helps.
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!