sgolayfilt function question ask
Show older comments
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
Answers (2)
Honglei Chen
on 30 Oct 2012
Do you have Signal Processing Toolbox installed? You can check if you have it by running
ver
Also, what does
which sgolayfilt
return?
You need either the Signal Processing Toolbox, or you can use the faster: FEX: fSGolayFilt.mex, which does not require the SPT.
Categories
Find more on Digital Filtering 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!