- 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
93 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Pratyush
2024-4-12
Hi ahmed,
To obtain a transfer function from a Simulink model, follow these summarized steps:
Hope this helps.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!