資源簡介
polar code在AWGN信道下采用連續刪除譯碼程序
代碼片段和文件信息
%?function?decoded_bits?=?polar_decoder(y?info_indices?pmf_W)
%?
%?N?=?length(y);
%?y?=?cast(y?‘int32‘);
%?info_indices?=?cast(info_indices?‘int32‘);
%?decoded_bits?=?zeros(N1);
%?for?i?=?info_indices‘
%?????if?(i?==?1)
%?????????lr?=?p_W_m(1y00Npmf_W(-1?1)?pmf_W(1?0))/p_W(1y01Npmf_W(-1?1)?pmf_W(1?0));
%?????else
%?????????lr?=?p_W_m(iycast(decoded_bits(1:i-1)?‘int32‘)0Npmf_W(-1?1)?pmf_W(1?0))/p_W(iycast(decoded_bits(1:i-1)?‘int32‘)1Npmf_W(-1?1)?pmf_W(1?0));
%?????end
%?????lr
%?????decoded_bits(i)?=?lr?1;
%?????
%?end
%?
%?end
function?[decoded_bits?hadnan]?=?pdecoder_4qamawgn(pr?frozen_inds)
N?=?length(pr);
decoded_bits?=?zeros(N1);
hadnan?=?false;
for?i?=?1:N
????if?(any(frozen_inds?==?i))
????????decoded_bits(i)?=?0
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1548??2012-03-30?01:58??sc?decoding\pdecoder_4qamawgn.m
?????文件????????284??2012-03-20?16:55??sc?decoding\polar_encoder.m
?????文件???????2478??2012-04-13?14:15??sc?decoding\polar_FER_4qamAWGN.m
?????文件???????1894??2012-03-30?01:57??sc?decoding\p_4qamawgn.m
?????文件????????500??2012-02-20?14:05??sc?decoding\recurse.m
?????文件????????183??2012-08-13?14:03??sc?decoding\symmetric_capacity_sc
?????目錄??????????0??2015-04-24?09:01??sc?decoding
-----------?---------??----------?-----??----
?????????????????6887????????????????????7
評論
共有 條評論