This problem needs more test cases of squares not aligned with the main axis. And right kites.
246 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
Find the index of n in magic(n)
160 Solvers
270 Solvers
115 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!