Smooth function not working

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.

Réponses (1)

Walter Roberson
Walter Roberson le 4 Déc 2020

0 votes

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.

Catégories

En savoir plus sur Curve Fitting Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2018a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by