This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Abhijeet Thakur
on 29 May 2013
problem in the test suite my Solution was perfect, please update the test suite
Ned Gulley
on 29 May 2013
I'm not sure how you reach that conclusion. The example given says fib(5) should be 5. Your code returns 15.
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2347 Solvers
-
Back to basics 11 - Max Integer
793 Solvers
-
Make a random, non-repeating vector.
10242 Solvers
-
Celsius to Fahrenheit converter
639 Solvers
-
7691 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!