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 Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by