How to get frequency resolution from bode plot or transfer function?

I want to know the frequency resolution from bode plot I estimate by using system identification toolbox. But how?

 Accepted Answer

You have to ask it to return them as outputs:
[mag,phase,wout] = bode(sys)
In this example, ‘wout’ are, from the documentation:
  • Response frequencies, returned as a row vector of frequency points. Frequency values are in radians per TimeUnit, where TimeUnit is the value of the TimeUnit property of sys.

2 Comments

should frequency resolution be a value not a vector? Like fourier where resolution is just 1/window but in bode I really don't know....may be calculated by time step and transfer function?
If you use a different syntax, the frequencies can be a vector argument (here ‘w’), giving the magnitude and phase as outputs:
[mag,phase] = bode(sys,w);
The frequency values are in radians per TimeUnit.
See the documentation for bode for details.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!