plot the empirical probablility

1 view (last 30 days)
Tri
Tri on 5 Jul 2014
Commented: Star Strider on 5 Jul 2014
how do I plot the empirical probability that X<=x for a range of x values for X standard normalrandom variables

Accepted Answer

Star Strider
Star Strider on 5 Jul 2014
If you have the Statistics Toolbox, use the normcdf function. If you don’t, use the core MATLAB erfc function. That requires a bit of extra programming, but it’s definitely not complicated.

More Answers (1)

Tri
Tri on 5 Jul 2014
Thank you!

Products

Community Treasure Hunt

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

Start Hunting!