Make correct function by Finding logic
logic(1) = 2
logic(2) = 3
logic(3) = 5
logic(4) = 9
Make a function logic(x) which will return value equal to logic(x)
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers448
Suggested Problems
-
Extract leading non-zero digit
2251 Solvers
-
Maximum running product for a string of numbers
2257 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
690 Solvers
-
5169 Solvers
-
932 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!