MATLAB Answers

Bandpass Filter BPFILT-Does this function still exist?

11 views (last 30 days)
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!!

Accepted Answer

Star Strider
Star Strider on 30 Apr 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 Comments
Star Strider
Star Strider on 30 Apr 2019
No worries!
An acceptance tells others that the answer worked.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!