dependnames
cfit、sfit、または fittype のオブジェクトの従属変数
構文
dep = dependnames(fun)
説明
dep = dependnames(fun) は、cfit、sfit、または fittype のオブジェクト fun の (単一) 従属変数名を文字ベクトル dep の 1 行 1 列の cell 配列として返します。
例
f1 = fittype('a*x^2+b*exp(n*x)');
dep1 = dependnames(f1)
dep1 =
'y'
f2 = fittype('a*x^2+b*exp(n*x)','dependent','power');
dep2 = dependnames(f2)
dep2 =
'power'バージョン履歴
R2006b で導入
参考
indepnames | fittype | formula