Apparent bug in comm.PhaseNoise?

5 visualizzazioni (ultimi 30 giorni)
Brian
Brian il 13 Ott 2022
Risposto: Stefanie Schwarz il 4 Set 2024
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]

Risposte (1)

Stefanie Schwarz
Stefanie Schwarz il 4 Set 2024
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!

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by