Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Interpolate data to selected locations

**This function supports the legacy workflow. Using the [p,e,t]
representation of FEMesh data is not recommended. Use interpolateSolution and evaluateGradient to interpolate a PDE solution and its gradient to
arbitrary points without switching to a [p,e,t]
representation.**

`uOut = evaluate(F,pOut)`

`uOut = evaluate(F,x,y)`

`uOut = evaluate(F,x,y,z)`

For each point where a solution is requested (`pOut`

), there are two
steps in the interpolation process. First, the *element* containing
the point must be located and second, interpolation within that element must be
performed using the element shape functions and the values of the solution at the
element’s node points.