File Exchange

image thumbnail

vectorized fibonacci

version 1.0.0.0 (1.42 KB) by Michael Völker
Given any integer array n, compute an array with the nth fibonacci numbers.

556 Downloads

Updated 10 Jan 2011

View License

This is essentially the fibonacci function from here: http://www.mathworks.com/matlabcentral/fileexchange/5093
I just needed a version which can work on arbitrary arrays.

Cite As

Michael Völker (2021). vectorized fibonacci (https://www.mathworks.com/matlabcentral/fileexchange/29991-vectorized-fibonacci), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Fibonacci.m

Community Treasure Hunt

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

Start Hunting!