view plotEig.m @ 855:5751262b323b feature/poroelastic

Add 1D quadrature matrices as property in Elastic2dVariable.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 16 Sep 2018 18:00:14 -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