Main Content

type

cfit, sfit 또는 fittype 객체의 이름

구문

name = type(fun)

설명

name = type(fun)cfit, sfit 또는 fittype 객체 fun의 사용자 지정 이름 또는 라이브러리 이름 name을 문자형 배열로 반환합니다.

예제

f = fittype('a*x^2+b*exp(n*x)');
category(f)
ans =
custom
type(f)
ans =
customnonlinear

g = fittype('fourier4');
category(g)
ans =
library
type(g)
ans =
fourier4

버전 내역

R2006b에 개발됨