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 Solvers116
Suggested Problems
-
593 Solvers
-
Set the array elements whose value is 13 to 0
1342 Solvers
-
The sum of the numbers in the vector
578 Solvers
-
Switch matrix to a column vector
339 Solvers
-
Test Problem; Create a 5x5 array containing all ones
375 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!