比较 modem.oqpsk 概率误差和 ber
您好,目前我的 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!
现在我的问题是如何将此 BER 与 OQPSK 的概率误差进行比较?
hi currently i have the following code in my 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过上述调制/解调过程运行多个不同的
值
后,得到的平均 BER 测量是对某个值的按位概率的估计。发生错误。也许您想将上述估计值与实际导出的公式进行比较,以了解预期错误率是多少? 此维基百科页面表示 QPSK 的误码概率(并且我假设也适用于 OQPSK)由以下公式给出:
其中函数
Q
以及参数Eb
和N0
描述为 此处。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.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:
where the function
Q
and the parametersEb
andN0
are described here.