Problem 2146. index of n^2 in magic(n)
69.71% Correct | 30.29% Incorrect
Last Solution submitted on Oct 28, 2022
Matthew Eicholtz on 13 Jun 2015
Test suite should be improved because this solution fails for certain values of n.
Problem Recent Solvers113
Getting the indices from a matrix
Given a matrix, swap the 2nd & 3rd columns
Determine the length of a string of characters
More from this Author9
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!