Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

The bit error rate is wrong when adding the channel,where am i wrong?

1 Ansicht (letzte 30 Tage)
yang-En Hsiao
yang-En Hsiao am 27 Aug. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
The first picture is using MAP rule but no channel,that is receive signal= signal + noise ,to find the QPSK error probability
Now i want to add the fading channel , CN~(0,1), that is receive signal = (signal*channel) + noise.Here is the code that i add the channel,however,the simulation is wrong,like the second picture below,does anyone know where am i wrong?
vComplexNoise = sqrt(1/2) * (randn(1,intput_data) + (1i * randn(1,intput_data))); %complex AWGN
H = fft(vComplexNoise); %fourier the channel from time domain to frequency domain
r = s.*H+w; %receive signal = (signal*channel) + noise
  2 Kommentare
yang-En Hsiao
yang-En Hsiao am 28 Aug. 2018
i change the s.*H+w to s.*abs(H)+w,and i think it works

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by