필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
yang-En Hsiao
yang-En Hsiao 2018년 8월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
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
KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 8월 27일
share the complete code, if you can?
yang-En Hsiao
yang-En Hsiao 2018년 8월 28일
i change the s.*H+w to s.*abs(H)+w,and i think it works

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by