% Checks if the symmetric part of a matrix is indeed symmetric
% Minas Spetsakis, Jan. 2018

A = rand(5,5);
B = (A+A')/2;
norm(B-B')
