Plot the magnitude response of a Butterworth filter with linear magnitude

3 views (last 30 days)
Hi,
I'm using a Butterworth filter to attenuate one of two frequency components in a signal, like so:
In the second subplot, I'd like to overlay the envelope of the filter. What's the easiest way to do this, keeping in mind that I need both axes to stay in linear form?
Thanks! Stefan

Accepted Answer

Walter Roberson
Walter Roberson on 12 May 2015
Plot with the linear plot first, and then
hold on
and plot the second plot. If it would normally switch to log form it will not do so because linear is already in effect.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!