view plotEig.m @ 883:76efb6a7b466 feature/poroelastic

Add Jonatans bugfix to bcSetup.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 02 Nov 2018 10:44:59 -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