Question: Computer Assignment 1 : The Gaussian Random Variable Generation of random variables is of paramount importance in simulating communication systems. The objective of this assignment
Computer Assignment : The Gaussian Random Variable
Generation of random variables is of paramount importance in simulating communication systems. The
objective of this assignment is to visualize and generate a standard normal random variable, and plot its
probability density function PDF from the generated data. The following tasks will require the use of Matlab
to generate a standard Gaussian random variable Attach all figures with the corresponding
MATLAB code.
Task : Use Matlab to generate a standard Gaussian random ie a sufficiently large vector of normally
distributed random variables. Use the generated data to plot the random variable
Task : Use the generated data in Task to plot the PDF of
Hint: you may find these Matlab functions helpful for Task and Task randn and histogram
Task : Plot the theoretical PDF of this random variable use suitable values for Overlap the theoretical
plot with the simulated plot generated in Task Recall the PDF of is
Task : Use Matlab to calculate the total area under the plotted curve in Task This should represent the
total area or probability under the PDF Hint: you may find this function helpful for this step trapz For this task,
simply write down the output of this function.
Task optional: Use the Matlab function trapz along with the theoretical PDF plotted in Task to
calculate the probability Use the Qfunction to verify this result. For this task, simply compare
the two results. Are they the same?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
