I am producing a signal modulated by a gaussian. What I do not control are the
small peaks that appear in the signal. Are they a consequence of the discretenes
of fft's?
N24;
k=1:1:N;
for i=1:N,
phireal0(i).*exp(-i^2/(N/10)^2/2);
end
phir0t(phireal0);
for i=1:1:N,
phir(i)=phir0(i)*exp(2*pi*j*rand(1));
end
phireal=real(ifft(phir));
%phireal shows undesireable small feautures.