Borrar filtros
Borrar filtros

bode plot of simulink model using matab commands (codes)

3 visualizaciones (últimos 30 días)
Mahdi Zolfaghari
Mahdi Zolfaghari el 1 de Sept. de 2022
Respondida: Sam Chak el 1 de Sept. de 2022
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.

Respuestas (1)

Sam Chak
Sam Chak el 1 de Sept. de 2022
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.
margin(Gp) % if you want to display the stability margins


Más información sobre Get Started with Control System Toolbox en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by