Matlab Can't Access Bandpass Filter

8 views (last 30 days)
Hi, every time I try and use certain portions of the signal toolbox, I am unable to call some functions, like 'bandpass', or any other filters. I am met with an error that reads:
Undefined function 'bandpass' for input arguments of type 'double'.
When I run:
which bandpass
It returns:
'bandpass' not found.
I have the signals toolbox installed, the bandpass file is stored in the directory '/MATLAB_R2017b.app/toolbox/signal/signal/private', I'm sure my license is still up to date, and another classmate is experiencing the same issue. I have also tried reinstalling the signals toolbox, and it was unsuccessful.
Any help is greatly appreciated, thank you!

Accepted Answer

Star Strider
Star Strider on 30 May 2018
The bandpass (link) and similar functions were introduced in R2018a. It uses an elliptic filter design, so you can duplicate its design with the ellipord (link) and related functions. Remember to use the filtfilt function to do the actual filtering.
The path you found is likely to the Filter Designer App. The bandpass function is: C:\Program Files\MATLAB\R2018a\toolbox\signal\signal\bandpass.m.
  2 Comments
Isaiah Egan
Isaiah Egan on 30 May 2018
Thank you, I was using R2017b. I'll update and see if that works.
Star Strider
Star Strider on 30 May 2018
My pleasure.
It will work! I’ve used some of those filters.

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!