This is machine translation

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

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.


Discretize geometry using triangular or tetrahedral mesh

The toolbox uses the finite element method (FEM) to solve PDEs. Create a mesh using the generateMesh function. A PDE model stores the generated mesh as an FEMesh object in its Mesh property. For details, see Mesh Data.


expand all

generateMeshCreate triangular or tetrahedral mesh
meshQualityEvaluate shape quality of mesh elements
findElementsFind mesh elements in specified region
findNodesFind mesh nodes in specified region
areaArea of 2-D mesh elements
volumeVolume of 3-D mesh elements
pdemeshPlot PDE mesh
pdeplotPlot solution or mesh for 2-D geometry
pdeplot3DPlot solution or surface mesh for 3-D geometry
adaptmeshAdaptive 2-D mesh generation and PDE solution
initmeshCreate initial 2-D mesh
meshToPet[p,e,t] representation of FEMesh data
jigglemesh(Not recommended) Jiggle internal points of triangular mesh
refinemeshRefine triangular mesh
pdeentIndices of triangles neighboring given set of triangles
pdesdeIndices of points/edges/triangles in set of subdomains



Programmatic Workflow

Generate Mesh

Adjust a mesh by using additional arguments of the generateMesh function.

Find Mesh Elements and Nodes by Location

Find mesh elements and nodes by their geometric location or proximity to a particular point or node.

Assess Quality of Mesh Elements

Evaluate the shape quality of mesh elements.

PDE Modeler App Workflow

Specify Mesh Parameters in the PDE Modeler App

Interactively specify parameters of the mesh.

Algorithms and Other Theory

Mesh Data

Recommended workflow uses FEMesh objects to represent meshes.

Mesh Data as [p,e,t] Triples

Legacy workflow uses [p,e,t] triples to represent meshes.