skip to main
|
skip to sidebar
Saturday, February 28, 2009
Fun with Numbers
Here is a simple number sequence called the Fibonacci series.
f(1)=1
f(2)=2
n=150
for
i=3:n
f(i)=f(i-1) + f(i-2)
end
figure;
plot (1:n, f,
'*'
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2009
(7)
►
June
(1)
►
May
(2)
►
March
(1)
▼
February
(1)
Fun with Numbers
►
January
(2)
►
2008
(16)
►
November
(2)
►
April
(3)
►
March
(1)
►
February
(1)
►
January
(9)
About Me
zengtm
View my complete profile
No comments:
Post a Comment