view plotEig.m @ 1249:1f82ad27616d feature/dirac_discr

Close branch feature/dirac_discr
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 20 Nov 2019 22:24:06 +0000
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