MATLAB Answers

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

1 view (last 30 days)
Darin
Darin on 5 Mar 2012
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)

Community Treasure Hunt

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

Start Hunting!