view plotEig.m @ 999:337c4d1dcef5 feature/getBoundaryOp

Fix overlooked Schrodinger1d scheme.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 12 Jan 2019 13:44:08 -0800
parents 7067bf8adbfa
children
line wrap: on
line source

% Plots all the eigen values for a sparse matrix.
function plotEig(A)
    e = eig(full(A));
    e = sort(e);
    plot(e,'.')
end