Matlab Can't Access Bandpass Filter

조회 수: 8 (최근 30일)
Isaiah Egan
Isaiah Egan 2018년 5월 30일
댓글: Star Strider 2018년 5월 30일
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!

채택된 답변

Star Strider
Star Strider 2018년 5월 30일
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
Isaiah Egan
Isaiah Egan 2018년 5월 30일
Thank you, I was using R2017b. I'll update and see if that works.
Star Strider
Star Strider 2018년 5월 30일
My pleasure.
It will work! I’ve used some of those filters.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Digital Filter Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by