-
大小:文件類型: .7z金幣: 1下載: 0 次發(fā)布日期: 2021-05-13
- 語言: Matlab
- 標(biāo)簽:
資源簡介
昆明理工大學(xué)糾錯(cuò)編碼原理及MATLAB實(shí)現(xiàn)-劉愛蓮-源代碼.rar
代碼片段和文件信息
%program_3_9
%describe:?(74)?hamming?code?ability?through?AWGN?White?Gauss?Noise?
%???????????
%?time???:?2015.4.18
%?state??:?finished!
%?edit?by:?leo?
%?Page???:?83
%?caution:?Configuration?->?Configuration?and?Parameters...
%??????????Tab?Sover?->?stop?time?set?to?100000
SNR?=?-1?:?1?:?5;
%--------------------------------
for?n?=?1?:?length(SNR)
????errB?=?SNR(n)?*?2;?%errB?=?SNR(n)?;?
????sim(‘hm_awgn_2‘);
????S2(n)?=?[mean(hm_awgn)]‘;?
????S3(n)?=?S2(n)?+?eps;
????EN(n)?=?[SNR(n)]‘;
end
semilogy(EN(S3)‘b-*‘);
axis([-151e-51]);
grid?
xlabel(‘SNR?in?White?Gauss?Noise‘);
ylabel(‘error?rate‘);
title(‘performance?of?block?code?in?White?Gauss?Noise‘);
評(píng)論
共有 條評(píng)論