Week - 3
Week - 3
Name Pachaiappan D
College Name Sri Ramanujar Engineering College
College Code 4123
Register number 412321106007
Assignment Week - 3
PROGRAM :
% Convert the bit stream into symbols using binary to decimal conversion
% Reshape the binary stream into a matrix with each column representing a symbol
% 'left-msb' indicates that the most significant bit (MSB) is on the left side
xsym = bi2de(reshape(x,k, length(x)/k).', 'left-msb'); % convert the bit stream into symbol
stream
SNR = 5;
% Calculate the Bit Error Rate (BER) by comparing the transmitted and received bits
%display
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Assignment Questions:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OUTPUT: