Scattered Interpolation: Defining my own triangulation?
Mostrar comentarios más antiguos
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?
5 comentarios
KSSV
el 17 de Sept. de 2020
ScatteredInteprolant do not demand to provide triangulation connectivity. You need to provide only the (x,y,z) points.
millercommamatt
el 17 de Sept. de 2020
Alexey Gorbunov
el 24 de Sept. de 2020
I have the same problem. I need to interpolate scattered data with predefined triangulation.
In the previous MatLab versions, it was possible using TriScatteredInterp function.
% T - triangular endpoint indexes predefined;
% x,y - data coordinates;
% V - data values;
TR = triangulation(T, [x(:), y(:)]); % creating triangulation
C = edges(TR); % finding edges of the triangulation
DT = DelaunayTri(x(:), y(:), C); % Delaunay with predefined edges
F_ne = TriScatteredInterp(DT, V(:)); % Interpolant
I have not stil find any other solution for the task...
John Kearns
el 7 de Jun. de 2023
Movida: KSSV
el 7 de Jun. de 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.
Cheers,
John
millercommamatt
el 7 de Jun. de 2023
Respuestas (1)
Noah Prisament
el 12 de Jun. de 2023
0 votos
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.
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!