Undefined function or method 'fitoptions' for input arguments of type 'char' ?

조회 수: 2 (최근 30일)
Joe
Joe 2016년 9월 30일
답변: Jan 2016년 9월 30일
Having trouble using fitoptions function:
Undefined function or method 'fitoptions' for input arguments of type 'char'
r=r.*33.*.5;
theta=theta.*(pi/180)+pi/2;
[x,y,zz] = pol2cart(theta,r,z);
ft = 'linearinterp';
opts = fitoptions( ft );
opts.Normalize = 'off';
[fitresult, gof] = fit( [x, y], zz, ft, opts );
[EDITED, Jan, please format you code - Thanks]

답변 (1개)

Jan
Jan 2016년 9월 30일
Do you have the Curve Fitting Toolbox? See output of:
ver

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by