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 Solvers123
Suggested Problems
-
Arrange vector in ascending order
798 Solvers
-
Back to basics - mean of corner elements of a matrix
448 Solvers
-
find the surface area of a cube
552 Solvers
-
Replace every 3rd element in a vector with 4
259 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
350 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!