golaycodec

版本 1.2.0.0 (4.2 KB) 作者: Ben Petschel
encode/decode a binary array using the Golay code with error correction
4.6K 次下载
更新时间 2023/7/13

查看许可证

% 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 (2024). golaycodec (https://www.mathworks.com/matlabcentral/fileexchange/23341-golaycodec), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Import and Network Parameters 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

code cleanup; changed encoding polynomial

1.1.0.0

added support for extended Golay codes

1.0.0.0