The random variable X can be used to describe the voltage at thereceiver in a modem. If symbol 0 is transmitted, X follows aGaussian distribution centered at −5V with a standard deviation of2V , or X ∼ n(x; −5, 2). If symbol 1 is transmitted, X follows aGaussian distribution centered at +5V with a standard deviation of2V , or X ∼ n(x; 5, 2). Assume that symbols 0 and 1 are equallylikely to be sent.
(a)in matlab Plot the PDF of X. (hint: f(x) vs. x in volts, youneed to use the law of total probability).
(b)in matlab Plot the CDF of X.