Clear Filters
Clear Filters

Scattered Interpolation: Defining my own triangulation?

5 views (last 30 days)
I'm interpolating data the comes from polar coordiate systems or terrain-following coordiante system used in numerical weather models. While that data isn't gridded in the since that it's not grid aligned, it is structured.
Scattered interpolation is slow. My understanding is that this stems from computing the delaunay triangulation. For my data it would be trivial to provide the triangulation connectivity graph along with the points.
Is there a way I can provide a pre computed triangulation to scatteredInterpolant or griddata in order to speed up my scattered interpolations? Is there some hidden class property I could fill in somewhere?
John Kearns
John Kearns on 7 Jun 2023
Moved: KSSV on 7 Jun 2023
Hey Matt,
Did you manage to find a solution to this? This idea has recently become relevant in my own work, and I would be grateful if you were able to share an successes you've had.
millercommamatt on 7 Jun 2023
I don't have any new information to share on this front.
In my case my data had a grid-like connectivity pattern so I transformed my data into a virtural coordinate system that I treated as gridded and used the much faster gridded interpolation and then converted back to my native coordinate system. It's a dirty hack that would get you in a lot of trouble unless you knew exactly what the assumptions, implications, and impacts were.

Sign in to comment.

Answers (1)

Noah Prisament
Noah Prisament on 12 Jun 2023
Hi, I work at MathWorks and I wanted to let you all know that we have forwarded this feedback to the relevant team. We will consider this request and it may be included in a future release.


Find more on Interpolation in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!