formula - Formula of cfit, sfit, or fittype object
Syntax
formula(fun)
Description
formula(fun) returns the
formula of the cfit, sfit, or fittype object fun as
a character array.
Example
f = fittype('weibull');
formula(f)
ans =
a*b*x^(b-1)*exp(-a*x^b)
g = fittype('cubicspline');
formula(g)
ans =
piecewise polynomialSee Also
fittype, coeffnames, numcoeffs, probnames, coeffvalues
 | fittype | | get |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit