Coefficient names of cfit
, sfit
, or
fittype
object
coeffs = coeffnames(fun)
coeffs = coeffnames(fun)
returns the
coefficient (parameter) names of the cfit
,
sfit
, or fittype
object
fun
as an n
-by-1 cell array of character
vectors coeffs
, where n =
numcoeffs(fun)
.
f = fittype('a*x^2+b*exp(n*x)'); ncoeffs = numcoeffs(f) ncoeffs = 3 coeffs = coeffnames(f) coeffs = 'a' 'b' 'n'
coeffvalues
| fittype
| formula
| numcoeffs
| probnames