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

2 ビュー (過去 30 日間)
federico nutarelli
federico nutarelli 2021 年 3 月 15 日
コメント済み: Grace Wang 2021 年 7 月 22 日
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 Center および File ExchangeSmoothing and Denoising についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by