view symmetricPart.m @ 597:8a1c36bbb977 feature/utux2D

Merge with better multiblock defs.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 26 Sep 2017 13:28:49 -0700
parents f8072bb8d1d1
children
line wrap: on
line source

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