view plotEig.m @ 771:2ffa82fb5172 feature/grids

Make setup_time_quantity_plot() accept sparse vectors
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 17 Jul 2018 16:39:17 -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