Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
additive white Gaussian noise

Subject: additive white Gaussian noise

From: Bashar Ali

Date: 6 Apr, 2013 00:02:06

Message: 1 of 1

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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us