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

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

카테고리

도움말 센터File Exchange에서 Smoothing에 대해 자세히 알아보기

질문:

Joe
2016년 9월 30일

답변:

Jan
2016년 9월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by