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
main
RosettaCodeData
/
Task
/
Fibonacci-sequence
/
MATLAB
/
fibonacci-sequence-1.m
7 lines
67 B
Mathematica
Raw
Permalink
Normal View
History
Unescape
Escape
Initial data commit
2023-07-01 11:58:00 -04:00
function
f
=
fib
(
n
)
Data update
2026-04-30 12:34:36 -04:00
f
=
[
1
1
;
1
0
]
^
(
n
-1
)
;
f
=
f
(
1
,
1
)
;
Initial data commit
2023-07-01 11:58:00 -04:00
end
Reference in a new issue
Copy permalink