Problem 3092. Return fibonacci sequence do not use loop and condition
Solution Stats
Problem Comments
-
7 Comments
Solve other problems from the problem set, Basics - Fibonacci, and the answer will reveal itself to you (after a little reflection). I promise.
Could you please tell me how to use recursion without condition?
Nice!
Interesting problem!!
It does require understanding of linear reccurence relations with constant coefficients. Interesting problem overall
Hint Instead using round which is forbidden.Try cast to other data types guys ( ͡° ͜ʖ ͡°)
you can use golden ratio for this problem.
Solution Comments
Show commentsProblem Recent Solvers850
Suggested Problems
-
1218 Solvers
-
Create a vector whose elements depend on the previous element
779 Solvers
-
Flip the vector from right to left
10625 Solvers
-
Find out sum and carry of Binary adder
1688 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2133 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!