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