91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 10KB
    文件類型: .c
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-05
  • 語言: C/C++
  • 標簽: bch??31??21??c??

資源簡介

BCH碼的C語言實現,碼長31,信息位21,可糾2個錯

資源截圖

代碼片段和文件信息

/*
?*?File:????bch3121.c?
?*?Author:??Robert?Morelos-Zaragoza
?*
?*?%%%%%%%%%%%?Encoder/Decoder?for?a?(31215)?binary?BCH?code?%%%%%%%%%%%%%
?*
?* This?code?is?used?in?the?POCSAG?protocol?specification?for?pagers.
?*
?* In?this?specific?case?there?is?no?need?to?use?the?Berlekamp-Massey
?* algorithm?since?the?error?locator?polynomial?is?of?at?most?degree?2.
?* Instead?we?simply?solve?by?hand?two?simultaneous?equations?to?give
?*? the?coefficients?of?the?error?locator?polynomial?in?the?case?of?two?
?* errors.?In?the?case?of?one?error?the?location?is?given?by?the?first
?* syndrome.
?*
?* This?program?derivates?from?the?original?bch2.c?which?was?written
?* to?simulate?the?encoding/decoding?of?primitive?binary?BCH?codes.
?* Part?of?this?program?is?adapted?from?a?Reed-Solo

評論

共有 條評論