Extending a 2D lattice of points

10 visualizzazioni (ultimi 30 giorni)
Alexander Collins
Alexander Collins il 12 Mag 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 Commenti
Scott MacKenzie
Scott MacKenzie il 12 Mag 2021
Modificato: Scott MacKenzie il 12 Mag 2021
It might help if you posted the code that generated the plot.
Alexander Collins
Alexander Collins il 13 Mag 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).

Accedi per commentare.

Risposte (1)

Matt J
Matt J il 12 Mag 2021
You can use scatteredInterpolant() or griddata().

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by