Reconstruct grid from partial data

Hi all,
I have image data of a surface with an array on it. This is a regular array with hexagonal symmetry. Some data points are missing and I'd like to reinstate them in the dataset. I can't work out how to solve this 2D problem with the interpolation functions like griddata but I think it's in there. Can anyone point me in the right direction?
Here is some example data, and .fig attached

Answers (1)

John D'Errico
John D'Errico on 13 Apr 2018
The points are not on a regular lattice. They seem to be on a skewed lattice, but even at that, they are not perfectly in straight lines.
So, essentially, you have scattered data, since they do deviate from straight lines.
What is it you wanted to do in the end? Do you have values of z at each known point, so you want to create some nice smooth surface?
In that case, use my gridfit utility, found for download from the file exchange.
Or you can indeed use tools like triscatteredInterpolant.

Categories

Find more on Interpolation in Help Center and File Exchange

Products

Asked:

on 13 Apr 2018

Answered:

on 13 Apr 2018

Community Treasure Hunt

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

Start Hunting!