Determine which XY points were meged by DelaunayTri to match up Zs

1 次查看(过去 30 天)
Consider: 3 identical sized arrays X,Y,Z with some dup X,Y points.
DT = DelaunayTri(X,Y); Gives a warning, but then:
F = TriScatteredInterp(DT,Z) (or anything elsen matchin Z to the nodes in DT)
FAILS
What is the least inefficient way to reample the Zs to match?
I'd recommend adding an output (IND) to DelaunayTri so that ZC = accumarray(IND,Z) matches DT.

回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by