Plot the magnitude response of a Butterworth filter with linear magnitude

4 vues (au cours des 30 derniers jours)
Stefan
Stefan le 12 Mai 2015
Commenté : Stefan le 12 Mai 2015
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

Réponse acceptée

Walter Roberson
Walter Roberson le 12 Mai 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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by