How to get transfer function from circuit in simulink without exact values
이전 댓글 표시
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
답변 (1개)
Pratyush
2024년 4월 12일
1 개 추천
Hi ahmed,
To obtain a transfer function from a Simulink model, follow these summarized steps:
- 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).
Hope this helps.
카테고리
도움말 센터 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!