view plotEig.m @ 967:368a2773f78b feature/poroelastic

Fix bug in Elastic2dVariable that resulted in using tuning^2
author Martin Almquist <malmquist@stanford.edu>
date Sun, 23 Dec 2018 14:06:26 +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