view plotEig.m @ 732:624120275bab feature/poroelastic

Set grid property in multiblock.DiffOp
author Martin Almquist <malmquist@stanford.edu>
date Wed, 25 Apr 2018 14:43:58 -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