Library function logistic not found when using fit
8 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to fit a logistic function to my data:
x = 20:10:80;
y = [0, 0.0625, 0.5882, 0.8235, 0.9375, 1, 1];
According to the mathworks documentation (here and here), the fit function should be able to take 'logistic' as the model name. But when I run the function, I get this error
fitObj = fit(x',y', 'logistic');
Error using fittype>iCreateFromLibrary
Library function logistic not found.
I'm using Matlab 2023a, unless this has been updated in 2023b can somebody help me figure out what's going wrong please
0 件のコメント
採用された回答
Thomas
2023 年 12 月 19 日
1 件のコメント
Star Strider
2023 年 12 月 19 日
If it’s not available, see List of Library Models for Curve and Surface Fitting to create it yourself.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Fit Postprocessing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!