Partial Differential Equation Solver

numol(x_endpts, xpts, t_endpts, tpts, num_pde, num_pae, pde_func, pinit, bc_func)

Returns an xpts × tpts matrix containing the solutions to the one-dimensional PDE in pde_func. Each column represents a solution over 1-D space at a single solution time. For a system of equations, the solution for each function is appended horizontally, so the matrix always has xpts rows, and tpts * (num_pde + num_pae) columns. The solution is found using the numerical method of lines.

Arguments:

(bc_left(t)

bc_right(t)

"D") for Dirichlet boundary conditions, or

(bc_left(t)

bc_right(t)

"N") for Neumann boundary conditions.

Notes:

QuickSheet

Related Topics