sgolayfilt function question ask

조회 수: 8 (최근 30일)
Eula
Eula 2012년 10월 30일
I use the function "sgolayfilt" to filter my data.
filter_grade=sgolayfilt(grade,4,41); The grade is 11925*1 double data.
But the result shows "??? Undefined function or method 'sgolayfilt' for input arguments of type 'double'". What should I do?
Thanks, Joanne
  댓글 수: 1
Eula
Eula 2012년 10월 30일
I typed "which sgolayfilt" and it shows 'sgolayfilt' not found. Does this mean I do not have Signal Processing Toolbox installed? How can I install the Signal Processing Toolbox? Should I pay for that?
Thanks, Joann

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

답변 (2개)

Honglei Chen
Honglei Chen 2012년 10월 30일
Do you have Signal Processing Toolbox installed? You can check if you have it by running
ver
Also, what does
which sgolayfilt
return?

Jan
Jan 2012년 10월 31일
편집: Jan 2012년 10월 31일
You need either the Signal Processing Toolbox, or you can use the faster: FEX: fSGolayFilt.mex, which does not require the SPT.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by