view symmetricPart.m @ 585:6e6da40091b7 feature/grids

Add an empty type of multiblock grid
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 08 Sep 2017 14:38:29 +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