Library function logistic not found when using fit

13 Ansichten (letzte 30 Tage)
Thomas
Thomas am 19 Dez. 2023
Kommentiert: Star Strider am 19 Dez. 2023
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

Akzeptierte Antwort

Thomas
Thomas am 19 Dez. 2023
Ok so turns out this was updated in 2023b...

Weitere Antworten (0)

Kategorien

Mehr zu Fit Postprocessing finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by