Effacer les filtres
Effacer les filtres

The filtfilt(d, x) version in the documentation does not seem to work

1 vue (au cours des 30 derniers jours)
Dan
Dan le 7 Sep 2018
Réponse apportée : Dan le 14 Sep 2018
The filtfilt() function seems to demand 3 inputs (b, a, x) but the documentation says it can also accept a filter object instead of the b,a coefficients. Is this an error in the documentation or in the filtfilt() function itself?
Thanks, Dan

Réponse acceptée

Dan
Dan le 14 Sep 2018
It appears that filtfilt does not accept any and all dsp toolbox filter objects. I just happened to choose one that it does not accept. When that happens it reverts to the filtfilt.m file that expects 3 arguments so you get an unhelpful error message complaining about insufficient number of arguments.
So my question has been answered.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with DSP System Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by