function y=fibonaccilat(n)
%---------------------------------
% This script generates the 
% Fibonacci lattice
%---------------------------------
z=fibonacci(n);
z1=fibonacci(n-1);
u=[1,z1];
h=zeros(z,2);
for(i=1:z)
    h(i,:)=u*(i-1)/z;
end
h=mod(h,1);
y=h;
end