Help with Fibonacci Execution Time
Info
This question is closed. Reopen it to edit or answer.
Show older comments
2.6 Execution time. How does the execution time of fibnum(n) depend on the execution time for fibnum(n-1) and fibnum(n-2)? Use this relationship to obtain an approximate formula for the execution time of fibnum(n) as a function of n. Estimate how long it would take your computer to compute fibnum(50). Warning: You probably do not want to actually run fibnum(50).
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!