vectorized fibonacci

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 (2023). 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!
Version Published Release Notes