FIBONACCI

Version 1.0.0.0 (517 Bytes) von Mukhtar Ullah
Array of fibonacci numbers.
2,9K Downloads
Aktualisiert 26 Mai 2005

Keine Lizenz

FIBONACCI(N) for scalar N, is the N-th fibonacci number. When N is an N-D array, FIBONACCI(N) is the array of fibonacci numbers corresponding to each element of N.

Example:
>> fibonacci(magic(3))
ans =

21 1 8
2 5 13
3 34 1

>> fibonacci(-pascal(3))
ans =

1 1 1
1 -1 2
1 2 -8

Zitieren als

Mukhtar Ullah (2024). FIBONACCI (https://www.mathworks.com/matlabcentral/fileexchange/7711-fibonacci), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Number Theory finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

improved!