view plotEig.m @ 897:ba7e442ea639

Fix bug in bcSetup
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 22 Nov 2018 10:43:48 +0100
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