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 Solvers48
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53913 Solvers
-
Select every other element of a vector
37487 Solvers
-
17479 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 Solvers
-
Sum positive elements of matrix.
131 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.