view plotEig.m @ 659:11a39b274260 feature/grids

Make data more flexible, add print method, allow negative devider index
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 11 Nov 2017 13:56:15 -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