Tanuj Monu
National Institute of Technology
自 2021 起处于活动状态
Followers: 0 Following: 0
Master's Student
Spoken Languages:
English, Hindi
English, Hindi
Feeds
已回答
Fibonacci sequence with loop
function f = fib(n) f(1) = 1; f(2) = 1; for i = 3:n f(i) = f(i-1) + f(i-2); end f = f(end); end
Fibonacci sequence with loop
function f = fib(n) f(1) = 1; f(2) = 1; for i = 3:n f(i) = f(i-1) + f(i-2); end f = f(end); end
3 years 前 | 0