Check for missing argument or incorrect argument data type in call to function 'smooth'.

1 次查看(过去 30 天)
Hi all,
the above error emerges also when I try the ssimple toy example in the help of ssmooth function. I am on Mac OSX Catalina and using R2020b.
Why iss this happening?
Thank you,
Federico

回答(2 个)

Jan
Jan 2021-3-18
Do you call the built-in function smooth or did you shadow it with a user-defined function? See:
which smooth -all
Please post a small working example. Does the message occur for this also:
smooth(rand(1, 100))
  3 个评论

请先登录,再进行评论。


federico nutarelli
federico nutarelli 2021-3-21
Hi all thank you for answering the question above. I basically forgot to install the curve fitting package. So I get back to the adds-in and installed it on my current matlab version.
Sorry for any inconvenience

标签

Community Treasure Hunt

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

Start Hunting!

Translated by