[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.

c — PDE coefficient scalar | matrix | character vector | character array | string scalar | string vector | coefficient function

PDE coefficient, specified as a scalar, matrix, character vector, character array, string
scalar, string vector, or coefficient function. c
represents the c coefficient in the scalar PDE

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

a — PDE coefficient scalar | matrix | character vector | character array | string scalar | string vector | coefficient function

PDE coefficient, specified as a scalar, matrix, character vector, character array, string
scalar, string vector, or coefficient function. a represents the
a coefficient in the scalar PDE

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

f — PDE coefficient scalar | matrix | character vector | character array | string scalar | string vector | coefficient function

PDE coefficient, specified as a scalar, matrix, character vector, character array, string
scalar, string vector, or coefficient function. f
represents the f coefficient in the scalar PDE

Data Types: double | char | string | 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.

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.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.