undercurve

Finds the area under the curve of a normal distribution and plots a pdf with the area shaded.

You are now following this Submission

Finds the area under the curve of a normal distribution and plots a pdf with the area shaded. Can take one of two paths:

1) undercurve(pd,'p',a,b)
2) undercurve(pd,'v',a,b)

pd is a distribution object;

Use path='p' to find the proportion of sample under the curve of a normal distribution,
where pd is a normal distribution with a defined mu & sigma, a and b
are the values from the distribution in which you wish to find the area between.

Use Path='v' to find the values corresponding to a percentage of the data, for example, the inner 95% of the data. a is first percentage, b is the second percentage.

Cite As

Scott Callahan (2026). undercurve (https://www.mathworks.com/matlabcentral/fileexchange/70470-undercurve), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

hold off added

1.0.0