could a non linear surface be fitted to a scattered data?

1 次查看(过去 30 天)
Hi, i have a scattered data [x, y, z], not gridded. i would like to fit a surface to that data, although i dont what that surface to be linear. maybe some sort of a curved surface. is that possible?
i use those comand now:
---------------------
ft = fittype( 'poly11' );
opts = fitoptions( 'Method', 'LinearLeastSquares' );
opts.Normalize = 'on';
opts.Robust = 'LAR';
[fitresult, gof] = fit( [Rdata(:,1), Rdata(:,2)], Rdata(:,3), ft, opts );
---------------------
but they only allows me to create some sort of linear surface.
thank you for your help.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by