how to use curve fitting without using curve fitting toolbox?

31 vues (au cours des 30 derniers jours)
zein
zein le 3 Mar 2021
Commenté : zein le 3 Mar 2021
I want to use curve fitting tool in the matlab script without opening the curve fitting toolbox.
I have a data (x,u) and i want to use fiiting in the matlab m.file. I used interplant with linear method as indicated in the following image.
how can i write the code in the M file to do the same done using cftool?
  1 commentaire
Matt J
Matt J le 3 Mar 2021
Modifié(e) : Matt J le 3 Mar 2021
I want to use curve fitting tool in the matlab script without opening the curve fitting toolbox.
Note that there is a difference between opening cftool and "opening the curve fitting toolbox". cftool is just a particular app within the toolbox.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 3 Mar 2021
  1 commentaire
zein
zein le 3 Mar 2021
how can i write the fitting function and specify interpolant and method linear?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by