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

1 view (last 30 days)
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)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!