Check for missing argument or incorrect argument data type in call to function 'smooth'.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Uday Pradhan
el 18 de Mzo. de 2021
Hi, could you please share a minimal example to reproduce the error?
Jan
el 21 de Mzo. de 2021
The message tells you, that there is a problem with calling the function. Then show us, how you call the function. What are the inputs?
Respuestas (2)
Jan
el 18 de Mzo. de 2021
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 comentarios
Walter Roberson
el 22 de Jul. de 2021
You do not have a smooth function for type double. Perhaps you are missing Curve Fitting Toolbox
Grace Wang
el 22 de Jul. de 2021
Thank you Walter! I install the Curve Fitting Toolbox, and the problem is solved.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!