coeffnames
cfit
, sfit
또는 fittype
객체의 계수 이름
구문
coeffs = coeffnames(fun)
설명
coeffs = coeffnames(fun)
은 cfit
, sfit
또는 fittype
객체 fun
의 계수(파라미터) 이름을 문자형 벡터로 구성된 n
×1 셀형 배열 coeffs
로 반환합니다. 여기서 n = numcoeffs(fun)
입니다.
예제
f = fittype('a*x^2+b*exp(n*x)'); ncoeffs = numcoeffs(f) ncoeffs = 3 coeffs = coeffnames(f) coeffs = 'a' 'b' 'n'
버전 내역
R2006b에 개발됨
참고 항목
fittype
| formula
| numcoeffs
| probnames
| coeffvalues