Lab 1 Binary Phase Shift Keying (BPSK) in Satellites Communications Procedures 1. Write a MATLAB program to simulate a BPSK system. Draw ten bits of the binary baseband (message) signal, the modulated signal, demodulated signal, the carrier and the constellation diagram as shown below. [40 marks) Carrier -5 0 0.1 0.2 0.3 0.7 0.8 0.9 1 0.4 0.5 0.6 Message Signal 0 -1 0 0.1 0.2 0.3 0.4 0.6 0.7 0.8 0.9 1 0.5 PSK 5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 8PSK Fie 1: Constellation diagram for BPSK in MATLAB 2. Write MATLAB code to simulate bit error rate for BPSK. You should get a graph as show below. [20 marks] 18 3. A geo-satellite, with an altitude of 35786 km, sends a signal with a frequency of 100 GHz to an earth station. The satellite's transmitter amplifier output is 10 W. The effective aperture of the satellite antenna Are is 2 m². The effective aperture of the receiving earth station antenna Are is 1 m². The height of the atmosphere layer is 300 km. Suppose that the diffraction loss Luis 10 dB. Suppose that the atmospheric attenuation loss L. is 30 dB. Suppose that a 1 Mbps (bit per second) data are sent using a phase shift keying (PSK). The bandwidth of the channel is 2 MHz. The noise power spectral density N, is KT- 1.38x10-23x290 = 4.002x10-21 W/Hz. K is Boltzmann constant, T is the receiver noise temperature in Kelvin. 1°Kelvin = -273.15°C. Write MATLAB code to calculate a. Calculate the gain of the transmitter antenna G. b. Calculate the effective radiated power (EIRP) of the transmitter antenna P, in decibels. c. Calculate the free-space path loss La d. Calculate the gain of the receiver's antenna G. e. Calculate the received power at the receiver's antenna P. f. Calculate the probability of error P. (bit error rate BER) of the received data. g. Calculate the capacity of the channel.