Smooth function not working

12 次查看(过去 30 天)
Lindsay Collins
Lindsay Collins 2020-12-4
The smooth function has stopped working for me.
Example input: test = smooth(data,10);
Error message: Error using smooth (line 36)
Input matrices must be the same length.
I am working with 2018a and I have verified that I still have the Curve Fitting Toolbox.

回答(1 个)

Walter Roberson
Walter Roberson 2020-12-4
which smooth
You will find that you are using some other smooth function, not toolbox/curvefit/curvefit/smooth.m . In the official smooth function, line 36 is a comment.

类别

Help CenterFile Exchange 中查找有关 Smoothing 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by