|
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 09 Jan 2006 |
Pete McAnena
|
|
|
| 07 Feb 2006 |
Onurb Fleicher
|
|
|
| 25 Feb 2006 |
Paul Fournier
|
|
|
| 27 Feb 2006 |
Mukhtar Ullah
|
|
|
| Updates |
| 26 May 2005 |
rewritten to exploit the fact:
f(-n) = (-1)^(n+1)*f(n) |
| 26 May 2005 |
improved! |
|
Contact us at files@mathworks.com