delsq_test
delsq_test,
a MATLAB code which
calls delsq(), which
is given a grid G, and returns a corresponding sparse matrix D that
defines the Laplacian operator on G. MATLAB includes a built-in
version of this function.
Licensing:
Based on code that is copyright 1984-2015 The MathWorks, Inc.
Related Data and Programs:
delsq,
a MATLAB code which
is given a grid G, and returns a corresponding sparse matrix D that
defines the Laplacian operator on G. MATLAB includes a built-in
version of this function.
Source Code:
-
contour_plot.png,
a contour plot of a solution to a boundary value problem.
-
delsq_10x10.png,
a spy() plot of the nonzeros in a matrix for the Laplacian
on a 10x10 grid.
-
grid_10x10.png,
a spy() plot of the nonzeros in the node index array for
a 10x10 grid.
-
grid_32x32.png,
a spy() plot of the nonzeros in the node index array for
a 32x32 grid.
-
mesh_plot.png,
a mesh plot of a solution to a boundary value problem.
Last modified on 31 August 2023.