IOANNIS KIPIOTIS
Followers: 0 Following: 0
Feeds
已回答
For loop for fibonacci series
function fib=fiboI(n) fib = [0,1]; for i = 3:n fib = [fib, fib(i-1) + fib(i-2)]; end end
For loop for fibonacci series
function fib=fiboI(n) fib = [0,1]; for i = 3:n fib = [fib, fib(i-1) + fib(i-2)]; end end
2 years 前 | 0