SINR in cdma, help
hallo,
I have a problem, so please help.
SINR = P/(N0 + In);
with P = 1 (in my case)
N0: noise
In: Interference with => In = (Users - 1)/PG.
PG: processing gain.
in the simulation i do so:
for PG = 8 and PG = 16;
%------------------------
SINR = 0:2:20; In dB
for N0 = 10.^(-SINR/10) - (Users - 1)/PG; % (as in the formula)
I generate data for x users, spreading, transmitting
n = (randn(1,N+ j*randn(1,N))*N0 %generate noise
desired_user = n + sum_other_users % add noise and mai to desirde user)
calculating BER, and ploting
But the result are not correct according ti the theory;
can some one tell me what is the problem, and if the generation of
noise is correct.
thanks
maca
|