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

1 回表示 (過去 30 日間)
Darin
Darin 2012 年 3 月 5 日
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 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by