Extending a 2D lattice of points

3 views (last 30 days)
Alexander Collins
Alexander Collins on 12 May 2021
Commented: Alexander Collins on 13 May 2021
I have a hexagonal grid of points derived from measurement (see figure). I'd like to be able to extrapolate beyond the plotted area and extend the lattice to the surrounding area. The lattice points are not in a mathematically perfect arrangement, so there needs to be some robustness to noise.
Does anyone know of any ways to achieve this? Thanks.
  2 Comments
Scott MacKenzie
Scott MacKenzie on 12 May 2021
Edited: Scott MacKenzie on 12 May 2021
It might help if you posted the code that generated the plot.
Alexander Collins
Alexander Collins on 13 May 2021
Hi Scott, the plot is derived from simple centroid fitting of image data, so represents a physical pattern that's been measured (rather than code-generated).

Sign in to comment.

Answers (1)

Matt J
Matt J on 12 May 2021
You can use scatteredInterpolant() or griddata().

Categories

Find more on Contour Plots in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!