why some of the built-in function of my matlab (2018b) can not work? like fit, confint...

2 views (last 30 days)
Dear all
as the title, why some of the built-in function of my matlab (2018b) can not work? like fit, confint...
x1=[178 1316 3236 5155 7075 8996 10916 12836 14756 16676 18568]'
y1=[1.0000 1.1848 1.4038 1.6632 1.9705 2.3347 2.7661 3.2773 3.8829 4.6005 5.4507]'
fitn=fit(x1,y1,'exp1')
>> fitn=fit(x1,y1,'exp1')
>>fitn =
[]
Thanks

Answers (1)

Steven Lord
Steven Lord on 23 May 2019
The fit function used that way is part of Curve Fitting Toolbox, as is the confint function. You most likely do not have this toolbox installed. Check if it is installed using the ver function.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!