Code covered by the BSD License  

Highlights from
performance of a digital transmission in the presence of the error correction coding

image thumbnail

performance of a digital transmission in the presence of the error correction coding

by

 

This M-file gives you the importance of digital transmission with the presence of the correction

DecodeSyndromique( data_rx, H )
function [ code_rx ] = DecodeSyndromique( data_rx, H )
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here
n=size(H,2);
%---S/P conversion---%
matrecu=reshape(data_rx, n, [])';
for k=1:size(matrecu,1);
    mot_rx=matrecu(k,:);
    syndrome=H*mot_rx';
    mot_corr(k,:)=mot_rx;
    for i=1:n;
        a=syndrome+H(:,i);
        a=not(sum(a.x));%---Error detection---%
        if a
            %---Error correction---%
            mot_corr(k,i)=not(mot_corr(k,i));
        end
end

end

%---P/S conversion---%
code_rx=reshape(mot_corr',1,[]);

Contact us