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
-
26230 Solvers
-
Number of 1s in a binary string
8290 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1012 Solvers
-
Switch matrix to a column vector
341 Solvers
-
Matlab Basics II - Count rows in a matrix
363 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!