-
2 Comments
Md. Ikrama Hossain
on 7 Feb 2023
Some errors in the test cases
for example, magic 2 is written false
Dyuman Joshi
on 7 Feb 2023
@Md. Ikrama Hossain, the test case is correct.
From the documentation of magic -
"The order n must be a scalar greater than or equal to 3 in order to create a valid magic square."
Suggested Problems
-
Get the area codes from a list of phone numbers
1062 Solvers
-
Reverse the Words (not letters) of a String
450 Solvers
-
600 Solvers
-
Returning a "greater than" vector
260 Solvers
-
400 Solvers
More from this Author23
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!