Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to generate Gaussian random variable?

Status
Not open for further replies.

malaylah

Junior Member level 1
Joined
Feb 27, 2005
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,452
Anyone here know how to generate gaussian random variable with mean 0 and variance σ^2 in C++ envirolment? Also, how to plot the pdf of it?
Thanks
 

Salam (in farsi = Hello)
The straightforward way is to generate uniform random variable then generate Normal random variable.
2 method for this purpose is
Rejection and Mixing and Box-Muller
u can find more about these in "probability, random variables and stochastic processes" by Papoulis in chapter 7 or by a little search in net
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top