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 中推出