Apparent bug in comm.PhaseNoise?
2 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to add phase noise to a signal, using the examples provided, but it only works part of the time. Is there some strange limitation on which values of phase noise are allowed?
clear all
nbits = 1000;
data = randi([0 1], nbits, 1);
modData = pskmod(data,2);
phNzLevel = [-70 -80]; % in dBc/Hz
phNzFreqOff = [2000 20000]; % in Hz
pnoise = comm.PhaseNoise('Level', phNzLevel, 'FrequencyOffset', phNzFreqOff);
y = pnoise(modData);
scatterplot(y);

The code above works. But if I change line 5 to the following, then no phase noise is added to the signal. I've increased the noise, so it should look worse than before. Why doesn't it work with these values?
phNzLevel = [-50 -80]

0 件のコメント
回答 (1 件)
Stefanie Schwarz
2024 年 9 月 4 日
Hi Brian,
This is a bug in MATLAB R2023b and prior releases, with no known workarounds.
This bug has been fixed in MATLAB R2024a and later releases.
Sorry for the delay and the inconvenience!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!