Undefined function 'fit' for input arguments of type 'double'.

조회 수: 18 (최근 30일)
Georgios Tsimplis
Georgios Tsimplis 2020년 7월 26일
댓글: madhan ravi 2020년 7월 26일
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');

답변 (1개)

madhan ravi
madhan ravi 2020년 7월 26일
편집: madhan ravi 2020년 7월 26일
You don’t have the license for it.
  댓글 수: 6
Georgios Tsimplis
Georgios Tsimplis 2020년 7월 26일
편집: Georgios Tsimplis 2020년 7월 26일
Yeah but why is this happening to me..?
what should i do?
i am a univesity student and i can download the full version of matlab 2020a..should i do something like this?
madhan ravi
madhan ravi 2020년 7월 26일
Go to Adds-On and download the toolbox from there.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by