Main Content

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에 개발됨