This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


(Not recommended) Interpolate from triangle midpoint data to node data

pdeprtni is not recommended. Use interpolateSolution and evaluateGradient instead.


un = pdeprtni(p,t,ut)


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.


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

Introduced before R2006a

Was this topic helpful?