Bandpass Filter BPFILT-Does this function still exist?

8 vues (au cours des 30 derniers jours)
Louise Wilson
Louise Wilson le 30 Avr 2019
Commenté : Star Strider le 30 Avr 2019
I have some code that uses bpfilt to apply a bandpass filter from 10 - 100 (presumably kHz):
flo=10;
fhi=100;
fdata=bpfilt(data,flo,fhi);
It looks like bpfilt doesn't exist as a function in matlab anymore? Is that true?
From reading other posts, it could also be that I am having trouble accessing the signal processing toolbox? I have this in my apps and it is enabled but I am not sure if that is enough to access the variables. I'm a newbie!
I would be happy to do the bpfilt by other means, but not sure how.
Thanks!!

Réponse acceptée

Star Strider
Star Strider le 30 Avr 2019
I can’t find it in the online documentation. If you have R21018a or later, use the bandpass (link) function.
It’s easy to design an efficient elliptical filter with ellipord, ellip, zp2sos and filter it with filtfilt.
  6 commentaires
Louise Wilson
Louise Wilson le 30 Avr 2019
Ah sorry-newbie :-)
Star Strider
Star Strider le 30 Avr 2019
No worries!
An acceptance tells others that the answer worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by