Undefined function 'fit' for input arguments of type 'double'.
Mostrar comentarios más antiguos
I have already downloaded curve fitting toolbox
as when i type
which fit
is returned
C:\Program Files\MATLAB\R2019b\toolbox\stats\stats\@gmdistribution\fit.m % gmdistribution method
but when i am trying to implement 'fit' function even in the following simple exampe i have an error
x=[1;4;10];
y=[2;4;6];
a=fit(x,y,'poly1');
and the error i have is:
>> Untitled
Undefined function 'fit' for input arguments of type
'double'.
Error in Untitled (line 3)
a=fit(x,y,'poly1');
Respuestas (1)
madhan ravi
el 26 de Jul. de 2020
Editada: madhan ravi
el 26 de Jul. de 2020
0 votos
You don’t have the license for it.
6 comentarios
Georgios Tsimplis
el 26 de Jul. de 2020
Georgios Tsimplis
el 26 de Jul. de 2020
madhan ravi
el 26 de Jul. de 2020
>> which fit -all
/MATLAB/toolbox/curvefit/curvefit/fit.m
/MATLAB/toolbox/stats/stats/@gmdistribution/fit.m % gmdistribution method
madhan ravi
el 26 de Jul. de 2020
Seems like you don’t have the “Curve Fitting Toolbox” .
Georgios Tsimplis
el 26 de Jul. de 2020
Editada: Georgios Tsimplis
el 26 de Jul. de 2020
madhan ravi
el 26 de Jul. de 2020
Go to Adds-On and download the toolbox from there.
Categorías
Más información sobre Linear Predictive Coding en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!