could a non linear surface be fitted to a scattered data?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!