golaycodec
버전 1.2.0.0 (4.2 KB) 작성자:
Ben Petschel
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 (2024). golaycodec (https://www.mathworks.com/matlabcentral/fileexchange/23341-golaycodec), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB 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!