indepnames
cfit
、sfit
,またはfittype
のオブジェクトの独立変数
構文
Indep = indepnames(有趣)
説明
Indep = indepnames(有趣)
は,cfit
、sfit
,またはfittype
のオブジェクト有趣的
の独立変数名(它的
)を返します。曲線の場合,它的
は文字ベクトルの1行1列のcell配列で,曲面の場合,它的
は文字ベクトルの2行1列のcell配列です。
例
F1 = fittype('a*x^2+b*exp(n*x)');Indep1 = indepnames(f1) Indep1 = 'x' f2 = fittype('a*x^2+b*exp(n*x)','独立','n');Indep2 = indepnames(f2) Indep2 = 'n'
バ,ジョン履歴
R2006bで導入