view symmetricPart.m @ 600:0da1c913a611 feature/grids

Add missing pause command in noname.Animate
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 26 Sep 2017 15:38:57 +0200
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end