image thumbnail

vectorized fibonacci

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


Updated 10 Jan 2011

View License

This is essentially the fibonacci function from here:
I just needed a version which can work on arbitrary arrays.

Cite As

Michael Völker (2022). vectorized fibonacci (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Fibonacci.m

Community Treasure Hunt

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

Start Hunting!