pskdemodXOR

版本 1.1.0.0 (3.2 KB) 作者: Damith Senaratne
Implements a demodulator object for M-PSK physical layer network coding.
440.0 次下载
更新时间 2012/5/30

查看许可证

Facilitates 'XOR in the air' through ML detection of x = x1 + x2, where x1, x2 are data streams identically modulated with M-PSK.
The constructor accepts a 'modem.pskmod' object (of Communications System Toolbox), and creates a matching 'pskdemodXOR' object. Member function 'demodulate' handles the demodulation.
e.g. usage:
M = 8; K = 100;
hMod = modem.pskmod(M);
hDemod = pskdemodXOR(hMod);
D1 = randi(M,1,K)-1; x1 = modulate(hMod,D1);
D2 = randi(M,1,K)-1; x2 = modulate(hMod,D2);
D = hDemod.demodulate(x1+x2);
all(bitxor(D1,D2)==D) % ans = 1

Member functions:
----------------
1. demodulate (symbol-by-symbol ML detection),
2. show (displays XORed constellation),
3. mindist (computes min. distance between 2 points in the constellation)

引用格式

Damith Senaratne (2025). pskdemodXOR (https://www.mathworks.com/matlabcentral/fileexchange/34139-pskdemodxor), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 MPSK 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Changed phrase: 'XOR over the air' to in the description to 'XOR in the air', which is more proper.

1.0.0.0