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

1 view (last 30 days)
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.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!