view plotEig.m @ 1313:a4c8bf2371f3 feature/poroelastic

Add viscoelastic fault interface
author Martin Almquist <malmquist@stanford.edu>
date Wed, 22 Jul 2020 15:35:25 -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