Main Content

coeffnames

cfitsfit、または fittype のオブジェクトの係数名

構文

coeffs = coeffnames(fun)

説明

coeffs = coeffnames(fun)cfitsfit、または fittype のオブジェクト fun の係数 (パラメーター) 名を文字ベクトル coeffsn 行 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 で導入