Cody

Problem 2693. Test if a matrix is symmetric

Solution 539868

Submitted on 3 Dec 2014 by Daniel
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))

y = 1

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!