Skip to content


Probability density function for exponential distribution

exppdf(x, mu)

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