view plotEig.m @ 842:619561e9ec0e feature/burgers1d

Reformulate the RK4 time stages in order to easier see how the residual should be updated.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 14 Sep 2018 16:40:19 +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