Answered You can hire a professional tutor to get the answer.
this exercise we learn how signals are generated to transmit binary data in digital communications, note that the actual signal transmission for
this exercise we learn how signals are generated to transmit binary data in digital communications, note that the actual signal transmission for digital communications is far more complex than what's given in this exercise. The objective here is to transmit eight bits given by b = [1 0 1 0 1 1 0 0] using binary phase shift keying (BPSK) technique. With BPSK technique a sinusoidal signal (known as the carrier signal) Acos(ωt+θ) is transmitted by varying its phase θ corresponding to bit '0' and bit '1'. For bit '0' the phase is θ = 0 and for bit '1' the phase is given by θ = π, therefore the signal transmission corresponding to the above bit stream is given by a series of cosines with different phase angles as expressed below. s(t) = [Acos(ωt+π) Acos(ωt) Acos(ωt+π) Acos(ωt) Acos(ωt+π) Acos(ωt+π) Acos(ωt) Acos(ωt)]For each of the 8 cosine waveforms in s(t) above the time duration is given by 0 < t < Tb, where Tb is known as the bit duration and Rb = 1/Tb is known as the data rate (bit rate). Therefore the total length in time of the above signal s(t) is 8Tb. The transmitted signal s(t) will be as follows; Note the phase changes in the above signal between 0 and π when bit 0 and bit 1 are transmitted respectively. Then at the receiver the bits are the detected by detecting the phase of the received carrier signal s(t). NOW YOUR TASK IS: to generate the BPSK transmission signal s(t) similar to what is given above for a bit rate of Rb = 500kps, and a signal (carrier) frequency of f = 1MHz for the following bit stream b = [0 1 0 1 0 0 1 1], with a signal amplitude A = 2. Please choose an appropriate sampling frequency based on your theoretical knowledge considering that the signal frequency is f = 1MHz. Q1) Write the Matlab codes to generate your transmit signal s(t) for all the 8 bits Q2) Generate a similar plot as to the above one to show your signal transmitting all the 8 bits. Q3) What is the total time duration of the signal to transmit all eight bits? Q4) Would the signal length for the eight bits in Q1 change if you change the sampling frequency?