bode plot of simulink model using matab commands (codes)
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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])
bode(Gp)
margin(Gp) % if you want to display the stability margins
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!