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

답변 (1개)
John D'Errico
2018년 4월 13일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!