Skip to Main Content Skip to Search
Product Documentation

pdeprtni - Interpolate from triangle midpoint data to node data

Syntax

un=pdeprtni(p,t,ut)

Description

un=pdeprtni(p,t,ut) gives linearly interpolated values at node points from the values at triangle midpoints.

The geometry of the PDE problem is given by the mesh data p and t. For details on the mesh data representation, see initmesh.

Let N be the dimension of the PDE system, np the number of node points, and nt the number of triangles. The components of triangle data in ut are stored as N rows of length nt. The components of the node data are stored in un as N columns of length np.

Caution

pdeprtni and pdeintrp are not inverse functions. The interpolation introduces some averaging.

See Also

assempde | initmesh | pdeintrp

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS