image thumbnail

Fibonacci.m

version 1.0.0.0 (387 Bytes) by David Terr
Given an integer n, return the nth Fibonacci number.

20.4K Downloads

Updated 08 Jun 2004

No License

Given an integer n, return the nth Fibonacci number.

Cite As

David Terr (2021). Fibonacci.m (https://www.mathworks.com/matlabcentral/fileexchange/5093-fibonacci-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: vectorized fibonacci

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!