view symmetricPart.m @ 777:0776fa4754ff feature/grids grids0.1

Switch to assertSize from assert_size
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Jul 2018 09:33:26 -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