久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 8604|回復: 0
收起左側

RS編碼解碼的各種函數 MATLAB代碼

[復制鏈接]
ID:212204 發表于 2017-6-18 20:17 | 顯示全部樓層 |閱讀模式
RS編碼解碼的各種函數 及主函數   MATLAB代碼
0.png

MATLAB源程序如下:
  1. % realize a (31,25) RS encoding & decoding in GF(2^5)
  2. % primitive polynomial in GF(2^5):  a^5=a^2+1
  3. % generator polynomial g(x)=(x+a)(x+a^2)(x+a^3)(x+a^4)(x+a^5)(x+a^6)
  4. % codeword length N=31
  5. % information sequence length k=25
  6. % maximum number of error-correcting t=3

  7. % the table convert the powers of a to a decimal number
  8. T=[1,2,4,8,16,5,10,20,13,26,17,7,14,28,29,31,27,19,3,6,12,24,21,15,30,25,23,11,22,9,18];

  9. % the input information sequence
  10. disp('輸入信息序列:')
  11. m_xi=1:25
  12. % press any key to continue, to view the results clearly
  13. disp('Press any key to continue...')
  14. pause
  15. % sequence after encoding
  16. disp('編碼輸出序列(發送序列):')
  17. t_x=rs_encode(m_xi)

  18. disp('Press any key to continue...')
  19. pause
  20. % press any key to continue
  21. disp('信道產生的錯誤位置:')
  22. sitegen=[0 5 30]
  23. disp('信道產生的錯誤數值:')
  24. valuegen=[5 3 7]
  25. num=length(valuegen);
  26. disp('Press any key to continue...')
  27. pause
  28. % press any key to continue
  29. % sequence received after channel
  30. disp('接收序列')
  31. r_x=rs_channel(t_x,num,sitegen,valuegen)
  32. disp('Press any key to continue...')
  33. pause
  34. % press any key to continue
  35. % sequence after decoding
  36. m_xo=rs_decoder(r_x)
  37. disp('Done!')
復制代碼

完整論文下載:http://www.zg4o1577.cn/bbs/dpj-88155-1.html

所有資料51hei提供下載:
RS.rar (6.81 KB, 下載次數: 69)
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 欧美中文字幕一区二区三区亚洲 | 亚洲一区在线日韩在线深爱 | 亚洲国产一区二区三区在线观看 | 欧美精品在线一区二区三区 | 成人h电影在线观看 | 小视频你懂得 | 一区二区三区在线 | 国产视频第一页 | 日本精品一区二区三区在线观看视频 | 国产成人精品午夜 | 成人黄色在线 | 国产精品日韩欧美一区二区 | 久久久久免费精品国产小说色大师 | 视频一区二区国产 | 欧美精品v国产精品v日韩精品 | 91精品国产麻豆 | 欧美黑人一级爽快片淫片高清 | 亚洲一区中文字幕 | 国产一二三区精品视频 | 久久久久国产精品一区 | 亚洲精品久久久久久国产精华液 | 无码一区二区三区视频 | 欧美精品1区2区3区 免费黄篇 | 亚洲福利在线视频 | 国产伦一区二区三区四区 | 亚洲一区中文字幕 | 国产电影一区二区在线观看 | 国产亚洲一区二区精品 | 欧美国产精品一区二区 | 看片91 | 欧美视频三区 | 亚洲国产精品一区二区第一页 | 国产不卡一区 | 青青草久久 | 国产精品久久精品 | 一级免费毛片 | 毛片高清 | 91网站在线观看视频 | 免费午夜剧场 | 91国在线高清视频 | 全部免费毛片在线播放网站 |