| Curve Fitting Toolbox™ | ![]() |
formula(fun)
formula(fun) returns the formula of the cfit or fittype object fun as a character array.
f = fittype('weibull');
formula(f)
ans =
a*b*x^(b-1)*exp(-a*x^b)
g = fittype('cubicspline');
formula(g)
ans =
piecewise polynomialfittype, coeffnames, numcoeffs, probnames, coeffvalues
![]() | fittype | get | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |