Категория припадка cfit, sfit, или fittype объект
cname = category(fun)
cname = category(fun) возвращает подходящую категорию cname из cfit, sfit, или fittype объект fun, где 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