Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet


Discussion Groups

Discussion Groups | Matlab DSP | normal random noise with zero mean, variance not equal to 1

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

normal random noise with zero mean, variance not equal to 1 - mao mu - Apr 2 20:20:00 2004



Hi folks,
How do I generate a random noise with zero mean, variance not equal to 1.
randn() is for zero mean, variance=1 case. Thanks,
Mu






(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: normal random noise with zero mean, variance not equal to 1 - Jeff Winter - Apr 5 13:19:00 2004

Hi Mu,

Try:

noise = mean + variance*randn();

Regards,
Jeff

=======================
Jeff Winter
Snr Design Engineer
Aeroflex
www.aeroflex.com -----Original Message-----
From: mao mu [mailto:]
Sent: Friday, April 02, 2004 9:20 PM
To:
Subject: [matlab] normal random noise with zero mean, variance not equal
to 1 Hi folks,
How do I generate a random noise with zero mean, variance not equal to 1.
randn() is for zero mean, variance=1 case. Thanks,
Mu _____________________________________
/groups.php3
Yahoo! Groups Links




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: normal random noise with zero mean, variance not equal to 1 - Jorge Vega - Apr 5 15:13:00 2004

 
I think it would be:
 
noise = mean + sqrt(variance) * randn();

Regards,
Jorge
===================
Jorge Vega
Santa Fe
ARGENTINA
===================
----- Original Message -----
From: Jeff Winter
To: mao mu
Cc: m...@yahoogroups.com
Sent: Monday, April 05, 2004 10:19 AM
Subject: RE: [matlab] normal random noise with zero mean, variance not equal to 1

Hi Mu,

Try:

noise = mean + variance*randn();

Regards,
Jeff

=======================
Jeff Winter
Snr Design Engineer
Aeroflex
www.aeroflex.com-----Original Message-----
From: mao mu [mailto:m...@yahoo.com]
Sent: Friday, April 02, 2004 9:20 PM
To:
Subject: [matlab] normal random noise with zero mean, variance not equal
to 1Hi folks,
How do I generate a random noise with zero mean, variance not equal to 1.
randn() is for zero mean, variance=1 case. Thanks,
Mu_____________________________________
/groups.php3
Yahoo! Groups Links

_____________________________________
/groups.php3
Yahoo! Groups Links 





(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: normal random noise with zero mean, variance not equal to 1 - Jeff Winter - Apr 5 16:31:00 2004

Jorge,
You think correct.  My mistake.
 
Jeff
-----Original Message-----
From: Jorge Vega [mailto:j...@ceride.gov.ar]
Sent: Monday, April 05, 2004 4:13 PM
To: j...@aeroflex.com; mao mu
Cc: m...@yahoogroups.com
Subject: RE: [matlab] normal random noise with zero mean, variance not equal to 1

 
I think it would be:
 
noise = mean + sqrt(variance) * randn();

Regards,
Jorge
===================
Jorge Vega
Santa Fe
ARGENTINA
===================
----- Original Message -----
From: Jeff Winter
To: mao mu
Cc: m...@yahoogroups.com
Sent: Monday, April 05, 2004 10:19 AM
Subject: RE: [matlab] normal random noise with zero mean, variance not equal to 1

Hi Mu,

Try:

noise = mean + variance*randn();

Regards,
Jeff

=======================
Jeff Winter
Snr Design Engineer
Aeroflex
www.aeroflex.com-----Original Message-----
From: mao mu [mailto:m...@yahoo.com]
Sent: Friday, April 02, 2004 9:20 PM
To:
Subject: [matlab] normal random noise with zero mean, variance not equal
to 1Hi folks,
How do I generate a random noise with zero mean, variance not equal to 1.
randn() is for zero mean, variance=1 case. Thanks,
Mu_____________________________________
/groups.php3
Yahoo! Groups Links

_____________________________________
/groups.php3
Yahoo! Groups Links 


_____________________________________
/groups.php3



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: normal random noise with zero mean, variance not equal to 1 - PRADEEP RAGOTHAMAN - Apr 7 13:19:00 2004

Hi!
You can use the function "normrnd" to generate random numbers from a
distribution with specified mean and variance!
cheers,
Pradeep.
--------- Original Message ---------
DATE: Mon, 5 Apr 2004 17:31:06
From: "Jeff Winter" <j...@aeroflex.com>
To: "Jorge Vega" <j...@ceride.gov.ar>, "mao mu" <m...@yahoo.com>
Cc: <m...@yahoogroups.com>

Jorge,
You think correct.  My mistake.
 
Jeff
-----Original Message-----
From: Jorge Vega [mailto:j...@ceride.gov.ar]
Sent: Monday, April 05, 2004 4:13 PM
To: j...@aeroflex.com; mao mu
Cc: m...@yahoogroups.com
Subject: RE: [matlab] normal random noise with zero mean, variance not equal to 1

 
I think it would be:
 
noise = mean + sqrt(variance) * randn();

Regards,
Jorge
===================
Jorge Vega
Santa Fe
ARGENTINA
===================
----- Original Message -----
From: Jeff Winter
To: mao mu
Cc: m...@yahoogroups.com
Sent: Monday, April 05, 2004 10:19 AM
Subject: RE: [matlab] normal random noise with zero mean, variance not equal to 1

Hi Mu,

Try:

noise = mean + variance*randn();

Regards,
Jeff

=======================
Jeff Winter
Snr Design Engineer
Aeroflex
www.aeroflex.com-----Original Message-----
From: mao mu [mailto:m...@yahoo.com]
Sent: Friday, April 02, 2004 9:20 PM
To:
Subject: [matlab] normal random noise with zero mean, variance not equal
to 1Hi folks,
How do I generate a random noise with zero mean, variance not equal to 1.
randn() is for zero mean, variance=1 case. Thanks,
Mu_____________________________________
/groups.php3
Yahoo! Groups Links

_____________________________________
/groups.php3
Yahoo! Groups Links 


_____________________________________
/groups.php3

_____________________________________
/groups.php3




____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages.



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )