MATLAB Simulation Output
Vector of data bits to be transmitted: D = 1 -1 1 -1 1 1 -1 -1 -1 -1 1 1 1 -1 -1 1 1 1 -1 -1 -1 1 1 -1 1 1 1 1 -1 -1 -1 -1 Vector of codes used for transmission: C = -1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 -1 1 1 -1 Resulting traffic on the channel: T = Columns 1 through 12 -2 -2 2 -2 0 0 4 0 -2 2 -2 -2 Columns 13 through 24 0 4 0 0 0 0 -4 0 0 -4 0 0 Columns 25 through 32 2 -2 2 2 2 2 -2 2 Reconstructed data at the receiver: RECON = 1 -1 1 -1 1 1 -1 -1 -1 -1 1 1 1 -1 -1 1 1 1 -1 -1 -1 1 1 -1 1 1 1 1 -1 -1 -1 -1