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

Risposte (1)

John D'Errico
John D'Errico il 13 Apr 2018

0 voti

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.

Categorie

Scopri di più su Interpolation in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 13 Apr 2018

Risposto:

il 13 Apr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by