Let X represent a standard normal random variable. Without generating any random variables, plot Φ(x), the cdf of X (the command erfc will help). Generate n = 10 standard normal random variables and plot the empirical probability that X ≤ x for -5 ≤ x ≤ 5. Plot these two figures on the same set of axes and show that the two plots converge for large n.
Please provide me with the MATLAB code with comments as I am having trouble understading this topic