view plotEig.m @ 1120:7963a9cab637 feature/poroelastic

In RungeKuttaDiscreteData, make K and U non-sparse to improve performance by roughly a factor of 3.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 07 May 2019 11:41:15 -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