Bodeplot a transfer function around resonant frequency (with zero damp)

Hi, all
I am trying to plot bode diagram of transfer:
( 200 s^2 + s + 2.842e007)/( s^2 + 1e6 )
but what I got looks weird around my resonant frequency, 1e3 rad/s , and I think maybe caused by frequency step. I want to have a closer frequency step around this particular frequency to have a smoother curve, is there any parameter to set this?
I have checked getoption and setoption command, that's not what I need.
Thanks for any suggestion.

 Akzeptierte Antwort

tfuc=tf([200 1 2.842e007],[1 0 1e6]);
v=logspace(2,4,10000);
bode(tfuc,v)
It was indeed related to the frequency step.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Control System Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by