Hi,
i m trying to simulate DS-cdma BER performance using MATLAB for multiusers. My problem is that "pskmod" function only accepts positive values from 0-M and in
DS-CDMA when adding different spreaded codes i get some negative
values that cant be given to "pskmod" e.g. " -1 1 1 -1 1 -1 -1..."
So, how can i pass the spreaded codes using "pskmod"?
i am trying to modulate with qpsk.
its very urgent, i really need your help.
thanks very much!
you need to convert -1 to 0. Do it by adding 1 with all the bits and then divide it by 2. You input this to pskmod. You can convert the zeros to -1 later when you need it.
Hi,
i m trying to simulate DS-cdma BER performance using MATLAB for multiusers. My problem is that "pskmod" function only accepts positive values from 0-M and in
DS-CDMA when adding different spreaded codes i get some negative
values that cant be given to "pskmod" e.g. " -1 1 1 -1 1 -1 -1..."
So, how can i pass the spreaded codes using "pskmod"?
i am trying to modulate with qpsk.
its very urgent, i really need your help.
thanks very much!