Curve fitting tool unavailable?
古いコメントを表示
Attempting to use the command "fit", even for a very simple data set returns: Undefined function 'fit' for input arguments of type 'double'.
typing cftool returns not available.
Anyone know why or how to fix this? I am running MATLAB off a cluster, not a personal computer if that makes a difference.
Sorry if the question is silly. ;/
4 件のコメント
Geoff Hayes
2014 年 6 月 6 日
The function fit is from the Curve Fitting Toolbox ( http://www.mathworks.com/help/curvefit/fit.html). In the Command Window, type ver too list your version of MATLAB and toolbox information to see if you have this toolbox.
Darya
2014 年 6 月 6 日
Geoff Hayes
2014 年 6 月 6 日
No, it is its own Toolbox. See Star Strider's solution below for alternatives to the fit function.
Star Strider
2014 年 6 月 6 日
No. The Curve Fitting Toolbox is a separate Toolbox.
The Statistics Toolbox function nlinfit fits vector dependent variables but has all the statistics you’ll likely ever need.
The Optimization Toolbox function lsqcurvefit can fit matrix dependent variables and allows parameter constraints, but doesn’t have access to all the statistics.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!