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 Center および File ExchangeDigital Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by