Clear Filters
Clear Filters

Have curve fitting toolbox, smooth function is saying "unrecognized method"

18 views (last 30 days)
I'm trying to use the smooth function, with the curve fitting toolbox installed, but I'm getting an error saying "Unrecognized method". How do I fix this?
  1 Comment
Steven Lord
Steven Lord on 24 Jun 2024 at 15:43
Can you show a small sample of code (say no more than a dozen lines) where you're trying to call smooth and show us the full and exact error and/or warning messages you receive (all the text displayed in red and/or orange in the Command Window) when you run that code?

Sign in to comment.

Answers (1)

Andreas Goser
Andreas Goser on 25 Jun 2024 at 9:20
A variation of what Steven suggested in his comment above. Can you run the example from the documentation?
load count.dat
c = smooth(count(:));

Community Treasure Hunt

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

Start Hunting!