Apparent bug in comm.PhaseNoise?

5 次查看(过去 30 天)
Brian
Brian 2022-10-13
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]

回答(1 个)

Stefanie Schwarz
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!

标签

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by