view plotEig.m @ 1261:a3f2c1781612 feature/poroelastic

Fix bug with incorrect grids returned by D1StaggeredUpwind
author Martin Almquist <malmquist@stanford.edu>
date Wed, 29 Apr 2020 21:02:05 -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