Effacer les filtres
Effacer les filtres

Why does "lowpass" give a static error when using the IIR option?

3 vues (au cours des 30 derniers jours)
Ralph Coleman
Ralph Coleman le 15 Sep 2020
Why does a static error appear between input and output when using the following command?
lowpass(ones(1,1000),500,5000,'ImpulseResponse','iir')
By the way, the static error problem can be solved by making the following correction in "lowpass.m" at line 138:
Tw = opts.TwPercentage * WpassNormalized;
instead of:
Tw = opts.TwPercentage * (1 - WpassNormalized);

Réponses (0)

Catégories

En savoir plus sur Digital and Analog Filters dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by