Find the pattern between input and output.
Write a function that gives the correct output for any input.
Hint: magic
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers46
Suggested Problems
-
12078 Solvers
-
convert matrix to single column
435 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
268 Solvers
-
Rotate a matrix for 180 degree
187 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The name of the function needs to be changed. Pattern is no longer accepted.
The function name has been changed to not conflict with a built-in function.