view plotEig.m @ 270:d755816aa0fa

added a u_t+u_x=0 scheme
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 09 Sep 2016 16:47:53 +0200
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