From: Patrick on
hi i have problem with my program in getting the SNR vs BER using the QPSK bits.i have found the values for the QPSK bits by using:

s = randsrc(100,1,[1 -1]);
q =(1./sqrt(2))* (s(1:2:end)+j*s(2:2:end));

this give me the real and the imag values of q. How do i use this value to put it into this lines:

x=awgn(q,SNR);
bdet=x>0;
ber(k) = sum(bdet~=q)/N;

pls help me.. thanks
 | 
Pages: 1
Prev: DICOM-RT
Next: CRC16-CCITT checksum code (Error)