function [Decoded_Channel] = SCo_Decoder(B,T,Channel)
Conc_Channel = [zeros(1,T) Channel zeros(1,T)];
Decoded_Channel = Conc_Channel;
index = T+1;
while index <= length(Channel)+T;
    if B == T;
        if Conc_Channel(index) == 1 & Conc_Channel(index+T) == 1;
            Decoded_Channel(index) = 1;
        else
            Decoded_Channel(index) = 0;
        end
        index = index + 1;
    else
        if Conc_Channel(index) == 1;
            if sum(Conc_Channel(index+B:index+T)) + sum(Conc_Channel(index-(T-B):index-1)) == 0;
                Conc_Channel(index) = 0;
                Decoded_Channel(index) = 0;
            else
            end
        else
        end
        index = index + 1;
    end
end
Decoded_Channel = Decoded_Channel(T+1:end-T);