view plotEig.m @ 719:b3f8fb9cefd2 feature/utux2D

Add interpolation to Schrödinger 2D scheme.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 11 Mar 2018 21:39:49 -0700
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