Skip to content


Cumulative distribution function for normal distribution


  • It returns the CDF of the standard normal distribution evaluated at elements of x.

normcdf(x, mu, sigma)

  • The input arrays x, mu, and sigma should have the same sizes. They contain, respectively, means and standard deviations of the CDFs being evaluated, and x values at which the CDFs are evaluated.
  • If one of the inputs is a scalar, it would be expanded to match the size of the other inputs.
  • It returns NaN for negative elements of sigma.