Extract interpolated values from a surface fit?
Show older comments
I have a somewhat sparse array, and I'm using the curve fitting tool (cftool) to interpolate a surface about the raster points. (The idea is that I'm trying to show what a section of a valley looked like before it was eroded using a couple of simple geometric constraints. The upper part of the valley still exists, so I have good control on what it looks like. The lower part of the valley is like a trough, and I want to estimate what it looked like. In the image, I've put in my "geometric constraints" in the lower valley).
I get a really nice fit using interpolation with cftool, however, I can't find a way to get the fit into raster form. It's not like fitting a surface, and then applying the polynomial to your array, it's a piecewise linear interpolation.
It looks like the output surface is even rasterized! There must be a simple way to use cftool to get an interpolated raster output that I can convert to a tiff, and not be stuck with just a pretty picture.

Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox 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!
