Get error for fit function (surface) in matlab2021
Afficher commentaires plus anciens
Hello
I have some data I want to use my code but in matlab2021 it does not work. any idea? It could read data but fit does not wok.
clear all
K=readtable('TEMPLDFC.xlsx');
x = K.(1) ;
y = K.(2) ;
z = K.(3);
f = fit([x y],z,"poly23");
Check for incorrect argument data type or missing argument in call to function 'fit'.
3 commentaires
Walter Roberson
le 7 Avr 2022
whos x y z
which fit
Please show us the results of the above
Torkan
le 7 Avr 2022
Réponses (1)
Walter Roberson
le 7 Avr 2022
0 votes
I suspect that you do not have the Curve Fitting Toolbox installed.
1 commentaire
Torkan
le 7 Avr 2022
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
