Extending a 2D lattice of points

조회 수: 10 (최근 30일)
Alexander Collins
Alexander Collins 2021년 5월 12일
댓글: Alexander Collins 2021년 5월 13일
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
Scott MacKenzie
Scott MacKenzie 2021년 5월 12일
편집: Scott MacKenzie 2021년 5월 12일
It might help if you posted the code that generated the plot.
Alexander Collins
Alexander Collins 2021년 5월 13일
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).

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2021년 5월 12일
You can use scatteredInterpolant() or griddata().

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by