golaycodec

encode/decode a binary array using the Golay code with error correction

現在この提出コンテンツをフォロー中です。

% Example: encode a message, add transmission errors and decode
x=round(rand(1,12)); % random message
y=golaycodec(x); % encode
err=zeros(1,23);err(ceil(23*rand(1,3)))=1; % 3 random errors
y1=xor(y,err); % add transmission error
[x1,err1]=golaycodec(y1); % decode
% should have x1==x and err1==err

引用

Ben Petschel (2026). golaycodec (https://jp.mathworks.com/matlabcentral/fileexchange/23341-golaycodec), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersData Import and Network Parameters についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.2.0.0

code cleanup; changed encoding polynomial

1.1.0.0

added support for extended Golay codes

1.0.0.0