In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are either +1 or −1 and whose rows are mutually orthogonal.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers10
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6677 Solvers
-
354 Solvers
-
555 Solvers
-
156 Solvers
-
192 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I don't think the asserts are correct. Should they be assert(check1 && check2 && ~illegal)?
I've corrected the assert() calls in the test suite, as per Chris's feedback.
@Aadhithya T V, kindly make a note of how assert() function calls are used.