Info
この質問は閉じられています。 編集または回答するには再度開いてください。
The bit error rate is wrong when adding the channel,where am i wrong?
1 回表示 (過去 30 日間)
古いコメントを表示
The first picture is using MAP rule but no channel,that is receive signal= signal + noise ,to find the QPSK error probability
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194479/image.jpeg)
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194480/image.jpeg)
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 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!