Problem 44731. Find the Pattern
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
Rafael S.T. Vieira
on 11 Oct 2020
The name of the function needs to be changed. Pattern is no longer accepted.
goc3
on 26 Oct 2020
The function name has been changed to not conflict with a built-in function.
Solution Comments
Show commentsProblem Recent Solvers45
Suggested Problems
-
Remove any row in which a NaN appears
8444 Solvers
-
How to find the position of an element in a vector without using the find function
2690 Solvers
-
The sum of the numbers in the vector
581 Solvers
-
175 Solvers
-
121 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!