File Exchange

image thumbnail

Linearly Interpolate Triangulation

version (2.17 KB) by Duane Hanselman
Interpolate a triangulation based on a given triangulation matrix TRI.


Updated 06 Nov 2012

View License

Zi = INTERPTRI(TRI,X,Y,Z,Xi,Yi) linearly interpolates the scattered data in vectors X,Y,Z as described by the triangulation TRI as returned by DELAUNAY at the individual pairs of points in Xi and Yi. That is, Zi(k) is the linear interpolation at the point (Xi(k),Yi(k)). Xi and Yi are not MESHGRIDed as they are in GRIDDATA when Xi is a row vector and and Yi is a column vector.

Cite As

Duane Hanselman (2021). Linearly Interpolate Triangulation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Robin Secord

Juri Romazanov

thank you, this works really well!

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!