Reply by sylv...@yahoo.fr June 8, 20062006-06-08
Hi everybody
I\'ve got a problem in matlab when generating bits
With my short program, modulus of bits pass by 0 which is not required of course even if i rotate then of 3*pi/8
Can someone help me please?

%%%%generation and rotation of bits%%%%%%%br /> for(l=1:n)
q=floor(8*rand());
a(l) = exp(i*pi/8*(2*q + 3*l));
end
%%%%gaussian filter thanks to http://www.tropian.com/tech/tech_docs/edge_paper.pdf but the real implementation whith the integral give the same result...
p = @(t) exp(-1.045*(t/T)^2-0.218*(t/T)^4);
for (u=1:n)
y=0;
for k=1:n
y=y+a(k)*p((u-k)*T);
end
sortie(u)=y;
end
plot(real(sortie),imag(sortie),\'r\')

Thank you