bode plot of simulink model using matab commands (codes)

조회 수: 2 (최근 30일)
Mahdi Zolfaghari
Mahdi Zolfaghari 2022년 9월 1일
답변: Sam Chak 2022년 9월 1일
Hi there,
I have modeled a transfer function in Simulink. How can I get the bode plot of the model using Matlab code? I don't want to use the model linearizer in the apps.
Thanks

답변 (1개)

Sam Chak
Sam Chak 2022년 9월 1일
This is an example to get the Bode plot with MATLAB code:
Gp = tf([1 3], [1 2 3 0])
Gp = s + 3 ----------------- s^3 + 2 s^2 + 3 s Continuous-time transfer function.
bode(Gp)
margin(Gp) % if you want to display the stability margins

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by