For the linear system $\mathbf A \mathbf x = \mathbf b$ generated from 2D Poisson equation using the standard central finite difference method,
$$
\mathbf A =
\begin{bmatrix}
\mathbf K & -\mathbf I \\
-\mathbf I & \mathbf K & -\mathbf I \\
& -\mathbf I & \mathbf K & -\mathbf I \\
& & \ddots & \ddots & \ddots
\end{bmatrix}
$$
where $\mathbf I$ is the identity matrix and $\mathbf K$ is the tridiagonal matrix with stencil $[-1 \ 4 \ -1]$.
With Matlab backslash, does anyone know what reordering algorithm matlab will use to solve this sparse system?
And in general, how matlab decide wihch reordering algorithm to use?
spparms
. To disable the default preordering, runspparms('autoamd',0); spparms('autommd',0)
. $\endgroup$