category
Categoría del ajuste de un objeto cfit
, sfit
o fittype
Sintaxis
cname = category(fun)
Descripción
cname = category(fun)
devuelve la categoría de ajuste cname
de un objeto cfit
, sfit
o fittype
denominado fun
, donde cname
puede ser 'custom'
, 'interpolant'
, 'library'
o 'spline'
.
Ejemplos
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
Historial de versiones
Introducido en R2006b