Clear Filters
Clear Filters

Fit surface to large data set

2 views (last 30 days)
ph0t0n
ph0t0n on 16 Mar 2015
Answered: ph0t0n on 16 Mar 2015
I have a matrixe (size approx. 3000x3000) which includes z values of a surface. The values are very noisy and include NaN values (approx 10% of all values). What is the best way to find a fitted surface in matlab without the fitting toolbox?. The surface should be of the form ax^2 + by^2 + cx+ dy + exy + f.

Answers (2)

Meghana Dinesh
Meghana Dinesh on 16 Mar 2015
Hey,
You can see Plane fit by Adrien Leygue. I have used this in my algorithms too for data-sets of approximately the same size.
Regards,
Meghana.

ph0t0n
ph0t0n on 16 Mar 2015
thank you, Meghana, but a plane is not the best approximation for my surface. Does anyone know a method which allows quadratic terms ax^2 + by^2 + cx+ dy + exy + f as a surface model.

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!