Question: TASK: Write MATLAB code and generate the output to display different line code scheme waveforms and their PSD (Power Spectral Density). Following steps should be
TASK: Write MATLAB code and generate the output to display different line code scheme waveforms and their PSD (Power Spectral Density). Following steps should be taken: 1. Generate uniformly distributed random bit-stream of size nb=100 (we may change number of bits later) 2. Modulate these bits to produce the waveforms for the given line coding schemes (see below) (a) Meaning is that the modulated waveform should look like the line code waveforms (b) You should use N=4 samples for one bit (this is chosen to make things easy for you) (c) Let data rate be Rb=1 (we can change this later). (d) Define bit-time-duration, and t variable for the waveform time accordingly (e) Apply proper rules to generate the required line code waveform 3. Plot and properly label the waveforms using subplot. Waveforms should be properly visible. 4. Calculate the Power Spectral Density of these different line coded waveforms 5. Plot all these PSD on a single figure/graph for comparison. Properly label and annotate. Line codes to be considered: (a) Uni-Polar NRZ (b) Uni-Polar RZ (c) Bipolar NRZ (d) Delay Modulation (e) Dicode NRZ
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
