- 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
조회 수: 75 (최근 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!