view plotEig.m @ 644:dc2918fb104d feature/d1_staggered

Switch to staggered-upwind staggered operators in Staggered1DAcoustics scheme.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 13 Nov 2017 11:49:49 -0800
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