Formula of cfit
, sfit
, or
fittype
object
formula(fun)
formula(fun)
returns the formula of the
cfit
, sfit
, 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 polynomial
coeffnames
| coeffvalues
| fittype
| numcoeffs
| probnames