2,9K download
Aggiornato
26 mag 2005
Nessuna licenza
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
Cita come
Mukhtar Ullah (2024). FIBONACCI (https://www.mathworks.com/matlabcentral/fileexchange/7711-fibonacci), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Number Theory in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | improved! |