view plotEig.m @ 150:d5a794c734bc feature/grids

Starting branch for adding abstract classes for grids, grid functions as well as implementing plotting and error calculation for these.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Dec 2015 15:06:16 +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