The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: additive white Gaussian noise
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Bashar Ali

Posts: 2
Registered: 4/28/13
additive white Gaussian noise
Posted: Apr 5, 2013 8:02 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all

please help me ; If I want to generate the following signal
x= u*h ;
y= x+ n ;

u=[1 1 1 1 -1 -1 -1 -1 ] ;
h= random('rayl',1,8 ) ;

I want the signal to noise ration to be 5 dB ;
I am generating 8 random Rayleigh fading envelopes and multiplying them by 1 or -1 according the the Hypothesis ( In wireless sensor Network ) ;

Will I have to use var(x) ... to calculate the signal power and after that calculating the required noise power ?

In some references they use the following formula : SNR= mean(x)/ std(n)

In the paper which I am trying to implement it ; they assumed Unity power fading envelopes ; E(h^2) = 1 ;

I am really confused ; between variance , mean , expectation .....

please help me

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.