2.9K 次下载
更新时间
2005/5/26
无许可证
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
引用格式
Mukhtar Ullah (2024). FIBONACCI (https://www.mathworks.com/matlabcentral/fileexchange/7711-fibonacci), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R14
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Number Theory 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | improved! |