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.

 Réponse acceptée

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.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Control System Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by