Azzera filtri
Azzera filtri

Random noise vs. White/Gaussian noise

133 visualizzazioni (ultimi 30 giorni)
Tom
Tom il 26 Mag 2012
I've been using this as my white noise so far,
s = (rand(N,1)-0.5)*2;
If I used one of MATLAB's noise functions what would be the difference?
The reason I ask is because I have to design and implement a basic adaptive filter using noise as the input source, but also having background noise as the noise that needs to be removed. It seemed counter-intuitive to have them as exactly the same types of noise.

Risposta accettata

Wayne King
Wayne King il 26 Mag 2012
rand() is a MATLAB random number generator. It generates random variables that follow a uniform probability distribution. randn() generates random numbers that follow a Gaussian distribution.
In the Statistics Toolbox, you have the ability to generate a wide variety of "noise" distributions.
  2 Commenti
Tom
Tom il 26 Mag 2012
many thanks wayne
Honglei Chen
Honglei Chen il 29 Mag 2012
I would suggest you to at least use randn. Uniform is just not a very practical model for noises.

Accedi per commentare.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by