Filters: Differences between fvtool and bode

4 views (last 30 days)
Hi,
I am willing to make a complex filter by multiplying the transfer function of several elementary filters (Butterworth for example).
While doing this, I found several questions about what is the differences in the plot of the functions bode and the one performed in fvtool .
Maybe, I'm not understanding the way fvtool express the filter. For example, the transfer function of a Butterworth 2nd order is 1/(1 + 1.41s + s^2), and bode plots its response correctly.
In the other hand, fvtool calculates a different expression for a Butterworth 2nd order, and the figures drawn by it has nothing to do from those done by bode - Even when I intgroduce the same transfer funcion!
Can anyone tell me what am I missing?
Thank you in advance

Accepted Answer

Honglei Chen
Honglei Chen on 9 Jan 2015
I'm not sure how you are using bode, but from your transfer function, you are working with analog filter while fvtool is for digital filters, so you may not be comparing apple to apple.
  2 Comments
Miguel
Miguel on 14 Jan 2015
It was that actually :)
In order to have the same answer with bode , I had to trace the discrete transfer function
bode( tf(Num,Den,Ts) )

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!