이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
indepnames
cfit
, sfit
또는 fittype
객체의 독립 변수
구문
indep = indepnames(fun)
설명
indep = indepnames(fun)
은 cfit
, sfit
또는 fittype
객체 fun
의 독립 변수 이름(indep
)을 반환합니다. 곡선의 경우 indep
는 문자형 벡터로 구성된 1×1 셀형 배열이고, 곡면의 경우 indep
는 문자형 벡터로 구성된 2×1 셀형 배열입니다.
예제
f1 = fittype('a*x^2+b*exp(n*x)'); indep1 = indepnames(f1) indep1 = 'x' f2 = fittype('a*x^2+b*exp(n*x)','independent','n'); indep2 = indepnames(f2) indep2 = 'n'
버전 내역
R2006b에 개발됨