s.asad114
Junior Member level 1
Im Working on Cooperative communication.i want Generate zero-mean complex Gaussian random variables with variances δ2sd and δ2sr.
im using following Code for this
chan_sd = 1/sqrt(2)*( randn(1, length(Txsig) ) + j*randn(1, length(Txsig) ) );
chan_sr = 1/sqrt(2)*( randn(1, length(Txsig) ) + j*randn(1, length(Txsig) ) );
Txsig is the modulated signal (symbols)
im geting -Ve Mean with it
can any one help me out in this ????
im using following Code for this
chan_sd = 1/sqrt(2)*( randn(1, length(Txsig) ) + j*randn(1, length(Txsig) ) );
chan_sr = 1/sqrt(2)*( randn(1, length(Txsig) ) + j*randn(1, length(Txsig) ) );
Txsig is the modulated signal (symbols)
im geting -Ve Mean with it
can any one help me out in this ????