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

조회 수: 3 (최근 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
Uday Pradhan
Uday Pradhan 2021년 3월 18일
Hi, could you please share a minimal example to reproduce the error?
Jan
Jan 2021년 3월 21일
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?

댓글을 달려면 로그인하십시오.

답변 (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
Walter Roberson
Walter Roberson 2021년 7월 22일
You do not have a smooth function for type double. Perhaps you are missing Curve Fitting Toolbox
Grace Wang
Grace Wang 2021년 7월 22일
Thank you Walter! I install the Curve Fitting Toolbox, and the problem is solved.

댓글을 달려면 로그인하십시오.


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

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by