Problem 2146. index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 12 19 21 3 11 18 25 2 9
output=[5,3]
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers115
Suggested Problems
-
Find the two most distant points
2589 Solvers
-
Find the sum of the elements in the "second" diagonal
1123 Solvers
-
221 Solvers
-
Switch matrix to a column vector
335 Solvers
-
07 - Common functions and indexing 1
416 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!