| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
Y = exppdf(X,mu)
Y = exppdf(X,mu) returns the pdf of the exponential distribution with mean parameter mu, evaluated at the values in X. X and mu can be vectors, matrices, or multidimensional arrays that have the same size. A scalar input is expanded to a constant array with the same dimensions as the other input. The parameters in mu must be positive.
The exponential pdf is
![]()
The exponential pdf is the gamma pdf with its first parameter equal to 1.
The exponential distribution is appropriate for modeling waiting times when the probability of waiting an additional period of time is independent of how long you have already waited. For example, the probability that a light bulb will burn out in its next minute of use is relatively independent of how many minutes it has already burned.
y = exppdf(5,1:5) y = 0.0067 0.0410 0.0630 0.0716 0.0736 y = exppdf(1:5,1:5) y = 0.3679 0.1839 0.1226 0.0920 0.0736
expcdf | expfit | expinv | explike | exprnd | expstat | pdf

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |