How to simulate standard normal rvs and plot the empirical probability?

Let X represent a standard normal rv. Without generating any rvs plot K(x), the cdf of X (the command erfc may be useful). Generate n = 10 standard normal rvs and plot the empirical probability that X <= x for −5 <= x<= 5. Plot these two figures on the same set of axes. Show that the two plots converge for large n.

Answers (0)

Products

Asked:

on 1 Apr 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!