Extending a 2D lattice of points

3 vues (au cours des 30 derniers jours)
Alexander Collins
Alexander Collins le 12 Mai 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 commentaires
Scott MacKenzie
Scott MacKenzie le 12 Mai 2021
Modifié(e) : Scott MacKenzie le 12 Mai 2021
It might help if you posted the code that generated the plot.
Alexander Collins
Alexander Collins le 13 Mai 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).

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 12 Mai 2021
You can use scatteredInterpolant() or griddata().

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by