Question: clc clear all; % Generating the bit pattern with each bit 5 0 samples long nB = 2 0 ; % number of bits b
clc
clear all;
Generating the bit pattern with each bit samples long
nB ; number of bits
b randinB;
convert bit to NRZ pattern
sB ; sample per bit
bNRZ onessB nB;
bNRZ bNRZrepmatbsB;
bNRZ reshapebNRZ nBsB;
plot original bit sequence
subplot; plotbNRZ; axis lengthbNRZ;grid on;
titleOriginal Bit Sequence';
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
