SIMULATION AND PERFORMANCE ANALYSIS OFBASEBAND TRANSMISSION1. Generate a random binary sequence with 1000 bits, in which theprobability of “0” is 0.8 and the probability of “1” is 0.2, respectively.Code: NRZ=randsrc(1,1000,1,0;0.2,0.8)2. Plot the first 20 bits of the binary sequence as the NRZ signals. for i=1:20NRZ_plot(i)=NRZ(i);end figure(1);subplot(3,1,1) stairs(NRZ_plot)3. Transfer the random binary sequence to the NRZI signals and Miller codes. Plot