登录
首页 » Matlab » 协同通信的MATLAB仿真代码

协同通信的MATLAB仿真代码

于 2022-08-08 发布 文件大小:53.89 kB
0 21
下载积分: 2 下载次数: 1

代码说明:

协同通信的MATLAB仿真代码 g = [ 1 1 1; 1 0 1 ]; x1 = round(rand(1, 112)); % info. bits 信息比特 CRC_CCITT = CRC_16(x1); x =[x1,CRC_CCITT] %加上CRC 比特信息 input = x; output1 = rsc_encode(g,input,1) t = poly2trellis(3,[7 5],7); % Define trellis. code = convenc(x,t)% Encode the data. err = sum(abs(code - output1(1:end-4))) ncode = awgn(code,4,"measured"); % Add noise. opmode = "trunc"; %操作模式 tblen1 = 5; decode1= vitdec(-ncode, t, tblen1, opmode, "unquant"); err1 = sum(abs(decode1 - x)) qcode = quantiz(ncode,[0.001,.1,.3,.5,.7,.9,.999]); add =zeros(1,96); qcode = [qcode,add]; tblen = 48; delay = tblen; % Traceback length decode2 = vitdec(qcode,t,tblen,"cont","soft",3); % Decode. %[number,ratio] = biterr(decode2(delay+1:end),x(1:end-delay)) %err2 = sum(abs(decode2 - x)) [number,ratio] = biterr(decode2(delay+1:end),x(1:end)) err2 = sum(abs(decode2(delay+1:end) - x))

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Matlab
    Matlab在图像处理与目标识别方面的应用实验程序示例.包括三个程序以及详细文档(Matlab in image processing and target recognition application example of the experimental procedures. Consists of three procedures, as well as detailed documentation)
    2009-05-03 16:07:16下载
    积分:1
  • Assembler
    此程序是音乐门铃程序,希望能对大家有多帮助!(This program is program music doorbell, hoping to tell you how to help!)
    2010-01-15 12:16:33下载
    积分:1
  • Optimization_Toolbox
    Matlab官方文档:优化工具箱Optimization toolbox(Matlab official documents : Optimization Toolbox Optimization toolbox)
    2006-05-26 11:58:13下载
    积分:1
  • huiguifenxi
    回归分析的基本理论,用数学软件求解回归分析问题(Regression analysis of the basic theory, regression analysis, problem solving using mathematical software)
    2012-05-03 07:39:57下载
    积分:1
  • nuttallwindowFFT
    nuttall窗双谱线插值FFT算法实现电力谐波分析(electical harmonic analysis based nuttall window double-spectrum-line interpolation for FFT algorithms )
    2020-06-28 19:40:01下载
    积分:1
  • 2013061504
    用simulink中s函数实现离散系统传递函数(S function with simulink realization of discrete system transfer function)
    2013-06-15 10:31:04下载
    积分:1
  • 完整的边缘检测算法源码
    相参脉冲串复调制信号,大学数值分析算法,模式识别中的bayes判别分析算法,在matlab R2009b调试通过,实现串口的数据采集,包括调制,解调,信噪比计算。
    2022-09-09 11:15:03下载
    积分:1
  • matlab调用c/c++MATLAB编程
    D-S证据理论数据融合,包括广义互相关函数GCC时延估计,搭建OFDM通信系统的框架,到达过程是的泊松过程,包括面积、周长、矩形度、伸长度,是路径规划的实用方法。
    2022-09-21 15:10:04下载
    积分:1
  • xiaobozengqiang
    适合初学小波的同志,小波图像增强原理底层。严格高低频分解重构,没有使用小波工具库。(Suitable for beginners wavelet comrades, the underlying principle of wavelet image enhancement. Strict high-low-frequency decomposition of reconstruction, did not use the wavelet tool library.)
    2020-10-26 23:30:00下载
    积分:1
  • fp
    说明:  很重要的指纹识别算法是基于matlab下的配合调用matlab的gui界面,使用这种算法可以提高matlab的运算效率。(the code base on the matlab and it will do well in gui in matlab if you use it you will find good way to identify the picture of finger)
    2010-04-24 23:07:10下载
    积分:1
  • 696524资源总数
  • 103938会员总数
  • 55今日下载