Guess the logic and make a function logic(x) which will return y.
logic(1) = 0
logic(2) = 188
logic(4) = 2256
logic(6) = 8460
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers24
Suggested Problems
-
286 Solvers
-
1356 Solvers
-
630 Solvers
-
Reverse the elements of an array
1118 Solvers
-
Determine the number of odd integers in a vector
828 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!