资源简介
基于MATLAB的信道卷积码编码译码仿真 可自定义信道的信噪比变化范围 并在模拟结束后描绘出不同信噪比下的误码率 以及帧错误率

代码片段和文件信息
function [onext_State] = circuit_logic(cur_Statenm)
%Function: This defines the circuit logic for a specific convolution
% encoder. For now I hand code the n outputs but this can be
% easily done automatically via the generator impulse responses.
%cur_State - The current state of the filter
%n - number of output words [y(1)y(2)...y(n)]
%m - number of memory elements
%Define output (n bit) in terms of states
y{1} = mod(cur_State.in + cur_State.m{2} + cur_State.m{3}2);
y{2} = mod(cur_State.in + cur_State.m{1} + cur_State.m{3}2);
y{3} = mod(cur_State.in + cur_State.m{1} + cur_State.m{2} + cur_State.m{3}2);
%Initialize Output Word
o = zeros(1n*length(y{1}));
for i = 0:n-1; o(1+i:n:end) = y{i+1}; end
o(o==0) = -1;
next_State.st = 0;
%Convert binary vec to state value and Update State.
for i = 0:m-1
if(i+1==1); next_State.m{i+1} = cur_State.in;
else; next_State.m{i+1} = cur_State.m{i};
end
next_State.st = next_State.st+ (2^i)*next_State.m{i+1};
end
next_State.st = next_State.st+1;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1098 2009-04-20 17:55 rate_1_N_convolution_code\circuit_logic.m
文件 355 2009-04-20 17:55 rate_1_N_convolution_code\compute_Hamm.m
文件 365 2009-04-20 17:55 rate_1_N_convolution_code\compute_Lp.m
文件 7430 2009-04-20 17:55 rate_1_N_convolution_code\decode_1_3.asv
文件 7041 2009-04-20 17:55 rate_1_N_convolution_code\decode_1_3.m
文件 477 2009-04-20 17:55 rate_1_N_convolution_code\encode_1_3.asv
文件 509 2009-04-20 17:55 rate_1_N_convolution_code\encode_1_3.m
文件 1212 2009-04-20 17:55 rate_1_N_convolution_code\find_ML_path.m
文件 445 2009-10-31 15:08 rate_1_N_convolution_code\readme.txt
文件 2089 2009-10-31 15:02 rate_1_N_convolution_code\run_me.m
文件 564485 2009-10-31 15:09 rate_1_N_convolution_code\Sandhu09_Coding_Theory_Project.pdf
目录 0 2009-11-23 23:19 rate_1_N_convolution_code
----------- --------- ---------- ----- ----
585506 12
- 上一篇:高斯加性噪声信道模型的matlab模拟
- 下一篇:LSB匹配嵌入
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论