category
cfit
、sfit
、または fittype
のオブジェクトの近似のカテゴリ
構文
cname = category(fun)
説明
cname = category(fun)
は、cfit
、sfit
、または fittype
のオブジェクト fun
の近似カテゴリ cname
を返します。ここで、cname
は 'custom'
、'interpolant'
、'library'
、または 'spline'
です。
例
f1 = fittype('a*x^2+b*exp(n*x)'); category(f1) ans = custom f2 = fittype('pchipinterp'); category(f2) ans = interpolant f3 = fittype('fourier4'); category(f3) ans = library f4 = fittype('smoothingspline'); category(f4) ans = spline
バージョン履歴
R2006b で導入