Problem 2693. Test if a matrix is symmetric

Solution 537227

Submitted on 29 Nov 2014 by VIVEK RUHELA
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% a=randn(40); x = a*a'; y_correct = 1; assert(isequal(isymmetric(x),y_correct))