%vypocet zlateho rezu pomoci Fibonacciho posloupnosti 
%a(1) = 1, a(2) = 1, a(i) = a(i-2)+a(i-1)
% plati lim a(n)/a(n-1) = phi pro n rostouci nade vsechny meze
F = 1;
G = [1 1];
iter = 100;
for i = 2:iter,
H = G(i);
G(i+1) = F + G(i);
F = H;
end
plot(G(2:iter)./G(1:iter-1))
