coeffnames
cfit
、sfit
、または fittype
のオブジェクトの係数名
構文
coeffs = coeffnames(fun)
説明
coeffs = coeffnames(fun)
は cfit
、sfit
、または fittype
のオブジェクト fun
の係数 (パラメーター) 名を文字ベクトル coeffs
の n
行 1 列 (n = numcoeffs(fun)
) の cell 配列として返します。
例
f = fittype('a*x^2+b*exp(n*x)'); ncoeffs = numcoeffs(f) ncoeffs = 3 coeffs = coeffnames(f) coeffs = 'a' 'b' 'n'
バージョン履歴
R2006b で導入
参考
fittype
| formula
| numcoeffs
| probnames
| coeffvalues