Access to the "smooth" function in Matlab 2016?

In Matlab 2015b I use the "smooth" function. If I upgrade my Matlab 2015b version to the Matlab 2016 version, do I then need to buy the additional curve fitting toolbox in order to access the smooth function?

2 commentaires

Adam
Adam le 4 Oct 2016
I need to Curve Fitting Toolbox to run this in R2015b too. Are you sure you aren't using a function called 'smooth' from elsewhere that you haven't added to your path for R2016b?
Steve Carroll
Steve Carroll le 6 Fév 2017
Find the code for the 'smooth' function here: https://uk.mathworks.com/matlabcentral/fileexchange/6271-spec-file-reader/content/specreader/smooth.m Copy and paste and save to your file path.

Connectez-vous pour commenter.

Réponses (1)

John D'Errico
John D'Errico le 4 Oct 2016

0 votes

You cannot use an old toolbox if you upgrade your matlab release, but do not upgrade the toolbox too. So you need a current toolbox.

1 commentaire

Thank you for your reply.
In Matlab 2015b I have been able to use the smooth function without any toolboxes, however, this does not seem to be the case for 2016.

Connectez-vous pour commenter.

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by