資源簡介
代碼包括了經典的turbo編碼,兩種碼率1/2和1/3,兩種譯碼方式Log-MAP和SOVA。可運行,方便學習turbo代碼

代碼片段和文件信息
function?bin_state?=?bin_state(?int_state?m?)
%?converts?an?vector?of?integer?into?a?matrix;?the?i-th?row?is?the?binary?form
%?of?m?bits?for?the?i-th?integer
for?j?=?1:length(?int_state?)?%?length(int_state)?=max_state??--yzh
for?i?=?m:-1:1
state(jm-i+1)?=?fix(?int_state(j)/?(2^(i-1))?);?%?fix(X)?rounds?the?elements?of?X?to?the?nearest
%integers?towards?zero.
int_state(j)?=?int_state(j)?-?state(jm-i+1)*2^(i-1);?%?remain?of?mod?2^(i-1)?the?leftmost?bit
%is?most?significant?-yzh
end
end
bin_state?=?state;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????192??2018-05-14?13:29??int_state.m
?????文件???????3246??2018-05-14?13:29??log_map.m
?????文件???????1359??2018-05-14?13:28??rsc_encode.m
?????文件???????2235??2018-05-14?13:29??trellis.m
?????文件???????7364??2018-05-14?13:26??turbo_code.m
?????文件????????523??2018-05-14?13:29??bin_state.m
?????文件???????1383??2018-05-14?13:29??demultiplex.m
?????文件????????676??2018-05-14?13:28??encode_bit.m
?????文件???????1949??2018-05-14?13:28??encoderm.m
-----------?---------??----------?-----??----
????????????????18927????????????????????9
- 上一篇:超臨界二氧化碳布雷頓簡單循環MATLAB計算程序.zip
- 下一篇:噪聲調幅干擾
評論
共有 條評論