简体   繁体   English

比较modem.oqpsk概率误差和ber

[英]comparing modem.oqpsk probability error and ber

hi currently i have the following code in my matlab 您好目前我在matlab中有以下代码

        values = [0;1;0;0;1;0;1;0];   % can contain only 0s and 1s
        h = modem.oqpskmod;
        y = modulate(h, values);
        g = modem.oqpskdemod(h);
        z = demodulate(g,y);
        BER = sum(logical(values(:)-z(:)))/numel(values);% thanks to gnovice!

now my question is how can i compare this BER to the Probability Error of the OQPSK? 现在我的问题是我如何将这个BER与OQPSK的概率误差进行比较?

After you've run a number of different sets of values through the modulation/demodulation process above, the resulting average BER measure is an estimate of the bit-wise probability for an error to occur. 在通过上面的调制/解调过程运行了许多不同的values集之后,所得的平均BER度量对发生错误的按位概率的估计。

Perhaps you are wanting to compare the above estimate to an actual derived formula for what the expected error rate is? 也许您想将上述估计值与实际得出的公式进行比较,以得出预期的错误率是多少? This Wikipedia page says that the probability of bit-error for QPSK (and I assume also for OQPSK) is given by the formula: 此Wikipedia页面上说,QPSK(我也假设是OQPSK)发生误码的概率由以下公式给出:

Pb = Q(sqrt(2*Eb/N0));

where the function Q and the parameters Eb and N0 are described here . 其中函数Q和参数EbN0被描述在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM