You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Mukhtar Ullah (2026). FIBONACCI (https://www.mathworks.com/matlabcentral/fileexchange/7711-fibonacci), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (517 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | improved! |
