to generate N samples of zero-mean white noise use either
rand(N, 1)-0.5
randn(N, 1)
depending on whether the noise should be normally or Gaussian
distributed.
Markus
Actually normally IS Gaussian. rand generates uniformly distributed noise
with mean 0.5. randn generates normal/Gaussian noise.
of course you're right - I meant to write 'uniformly' instead of
'normally'
Markus