Matlab Can't Access Bandpass Filter
8 views (last 30 days)
Show older comments
Isaiah Egan
on 30 May 2018
Commented: Star Strider
on 30 May 2018
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!
0 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Digital Filter Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!