This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
master
RosettaCodeData
/
Task
/
Fibonacci-sequence
/
MATLAB
/
fibonacci-sequence-1.m
7 lines
65 B
Mathematica
Raw
Permalink
Normal View
History
Unescape
Escape
Just another update
2015-02-20 00:35:01 -05:00
function
f
=
fib
(
n
)
f
=
[
1
1
;
1
0
]
^
(
n
-1
)
;
f
=
f
(
1
,
1
)
;
A-M baby
2013-04-10 21:29:02 -07:00
end
Reference in a new issue
Copy permalink