资源简介

谢谢之前那位朋友提醒,之前不完全,现在补充了遗漏的! 要做Turbo,感觉是绕不开Dr.wuyufei的数学架构的,我在里面详细注释了。本文作为学习用,很具有参考价值! 本文在结果中详细列出了每次迭代的误码率,迭代次数可调,结果运行时间较长,这个很正常。 译码部分的log-map算法调通了,sova有代码,并没有调,下载的朋友们需要注意了! % **************Dr. wuyufei的典型Turbo系统主函数******************************** % This script simulates the classical turbo encoding-decoding system. % It simulates parallel concatenated convolutional codes. % Two component rate 1/2 RSC (Recursive Systematic Convolutional) component encoders are assumed. % % First encoder is terminated with tails bits. (Info + tail) bits are scrambled and passed to % the second encoder, while second encoder is left open without tail bits of itself. % % Random information bits are modulated into +1/-1, and transmitted through a AWGN channel. % Interleavers are randomly generated for each frame. % While it's UNECESSARY in our first version! % % Log-MAP algorithm without quantization or approximation is used. % By making use of ln(e^x+e^y) = max(x,y) + ln(1+e^(-abs(x-y))), % the Log-MAP can be simplified with a look-up table for the correction function. % If use approximation ln(e^x+e^y) = max(x,y), it becomes MAX-Log-MAP.

资源截图

代码片段和文件信息

%************************beginning of file*****************************
%bin2deci.m
function y=bin2deci(x)
% 将二进制数转化为十进制数

%+++++++++++++++++++++++variables++++++++++++++++++++++++++++
% x        输入数据
% y        输出数据
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

t=length(x);
y=(t-1:-1:0);
y=2.^y;
y=x*y‘;
% ************************end of file*********************************

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        428  2012-11-08 21:32  turboall\bin2deci.m

     文件        454  2012-11-05 19:35  turboall\bin_state.m

     文件       1031  2012-11-23 20:42  turboall\cic_deci.m

     文件       1228  2012-11-22 16:21  turboall\cic_inter.m

     文件       2168  2012-11-09 19:46  turboall\cnv_encd.m

     文件        536  2012-11-08 21:32  turboall\deci2bin.m

     文件       1691  2012-11-07 20:55  turboall\demultiplex.m

     文件        554  2012-12-07 14:56  turboall\deqpsk.m

     文件       1751  2012-11-23 19:49  turboall\down_convert_ofdm.m

     文件        363  2012-11-02 13:37  turboall\encoder1.m

     文件       2499  2012-11-06 14:06  turboall\encoderm.m

     文件       1232  2012-11-05 20:28  turboall\encode_bit.m

     文件      10070  2012-11-26 12:30  turboall\filter_test.m

     文件       2069  2012-11-27 21:06  turboall\fre_syn.m

     文件        700  2012-11-22 21:13  turboall\guiyi_DUCdata.m

     文件        773  2012-11-09 21:26  turboall\interlacecode.m

     文件        651  2012-11-29 17:11  turboall\interlacedecode.m

     文件        295  2012-11-05 19:36  turboall\int_state.m

     文件       3862  2012-11-08 15:13  turboall\logmapo.m

     文件      10274  2012-12-15 15:19  turboall\main_ofdm.m

     文件        541  2012-11-08 21:32  turboall\metric.m

     文件        995  2012-11-14 18:54  turboall\m_sequence.m

     文件       2524  2012-12-02 14:56  turboall\Newencoderm.m

     文件        481  2012-11-08 21:31  turboall\nxt_stat.m

     文件        877  2012-11-29 16:38  turboall\phase_comp.m

     文件        696  2012-11-14 19:08  turboall\qpsk.m

     文件        364  2012-10-30 21:53  turboall\QPSK1.m

     文件        889  2012-11-22 14:59  turboall\ram_sin.m

     文件       1868  2012-11-06 10:59  turboall\rsc_encode.m

     文件      11743  2012-10-24 16:22  turboall\sova.m

............此处省略11个文件信息

评论

共有 条评论