Fit x,y values to 2-D measured data set?
1 view (last 30 days)
Show older comments
I have a small (3x11) set of 2-D high-quality measured data points from a scientific experiment: z(x,y). These define a fairly smooth surface. While it is easy to find z given any values of x,y by interpolation, I need to find all valid values of x,y in the domain for a given z. Please can anyone tell me if there is an easy way to do this in MATLAB? I guess least-squares minimisation fitting would be the best technique?
0 Comments
Accepted Answer
Bjorn Gustavsson
on 22 May 2014
Well, I'm reaching a bit, but shouldnt this be something like the controur-lines at level z. If so then you have the tricont/tricontour functions if you want to do it in one go, or you could use first an interpolation functions: griddata, TriScatteredInterp and for example gridfit on the file exchange followed by a regular contour.
More Answers (0)
See Also
Categories
Find more on Get Started with 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!