function F=fibonacci(n)
% Fibonacci series
% F=fibonacci(n)

F(1)=0;
F(2)=1;

for i=3:n,
    F(i)=F(i-1)+F(i-2);
end
