[K,M,F]
= assema(model,c,a,f) assembles
the stiffness matrix K, the mass matrix M,
and the load vector F using the mesh contained
in model, and the PDE coefficients c, a,
and f.

Data Types: double | char | function_handle Complex Number Support: Yes

p — Mesh points matrix

Mesh points, specified as a 2-by-Np matrix
of points, where Np is the number of points in
the mesh. For a description of the (p,e,t)
matrices, see Mesh Data.

Typically, you use the p, e,
and t data exported from the PDE app, or generated
by initmesh or refinemesh.

Example: [p,e,t] = initmesh(gd)

Data Types: double

t — Mesh triangles matrix

Mesh triangles, specified as a 4-by-Nt matrix
of triangles, where Nt is the number of triangles
in the mesh. For a description of the (p,e,t)
matrices, see Mesh Data.

Typically, you use the p, e,
and t data exported from the PDE app, or generated
by initmesh or refinemesh.