what function of this? (weibul)

1 visualizzazione (ultimi 30 giorni)
uncung fgv
uncung fgv il 25 Apr 2012
any one can tell me what function of this?
h=fittype('1-exp(-a*x^b)');
[Y,par]=fit(r',P',h,'StartPoint',[1 1]);
Y
par
Pfit=Y(r);

Risposte (1)

Thomas
Thomas il 25 Apr 2012
don't really understand your question, but I guess you want to to know what functions are being used above:
fittype: Fit type for curve and surface fitting
fit: Fit curve or surface to data
What you are doing is trying to get the fittype for your data based on the expression 1-exp(-a*x^b) and then using that fittype which you have in 'h' now to fit a curve to your data using
[Y,par]=fit(r',P',h,'StartPoint',[1 1]);

Categorie

Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by