Why is this function used to generate white gaussian noise

Antworten (2)

Walter Roberson
Walter Roberson am 24 Aug. 2012

0 Stimmen

The code generates random complex numbers and normalizes them to a maximum of 1 unit of magnitude.
What is the context, such that complex signals are appropriate?
Daniel Shub
Daniel Shub am 24 Aug. 2012
One of the neat properties of Gaussian noise is that the real and imaginary components of the Fourier transform of a Gaussian noise are Gaussian. If you are working in the frequency domain, your code is identical, in a stochastic sense, to
n = fft(randn(1, N));
but obviously more efficient.
If you are interested in the magnitudes and phases of the components, instead of the real and imaginary components, you could create the Gaussian noise by creating magnitudes which are Rayleigh distributed and phases which are uniformly distributed.

Kategorien

Mehr zu Beamforming and Direction of Arrival Estimation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Aug. 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by