view plotEig.m @ 810:77451445955f feature/poroelastic

Bugfix in grid/evalOn
author Martin Almquist <malmquist@stanford.edu>
date Fri, 27 Jul 2018 10:23:49 -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