Normal probability density function
normpdf is a function specific to normal
distribution. Statistics and Machine Learning Toolbox™ also offers the generic function pdf, which supports various
probability distributions. To use pdf, create a NormalDistribution probability
distribution object and pass the object as an input argument or specify the
probability distribution name and its parameters. Note that the
distribution-specific function normpdf is faster
than the generic function pdf.
Use the Probability Distribution Function app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.
[1] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed. Hoboken, NJ: John Wiley & Sons, Inc., 1993.