view symmetricPart.m @ 594:a2ddaccf5fd1 feature/utux2D

Merge with better_multiblock_defs
author Martin Almquist <malmquist@stanford.edu>
date Mon, 18 Sep 2017 20:06:25 +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