Clear Filters
Clear Filters

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

6 views (last 30 days)
I want to know the frequency resolution from bode plot I estimate by using system identification toolbox. But how?

Accepted Answer

Star Strider
Star Strider on 19 Jul 2016
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
Zhe Liu
Zhe Liu on 19 Jul 2016
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?
Star Strider
Star Strider on 19 Jul 2016
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)

Categories

Find more on Linear Model Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!