| Statistics Toolbox | ![]() |
Mean and variance for the exponential distribution.
Syntax
[M,V] = expstat(MU)
Description
[M,V] = expstat(MU)
returns the mean and variance for the exponential distribution with parameters MU. The mean of the exponential distribution is µ, and the variance is µ2.
Examples
[m,v] = expstat([1 10 100 1000])
m =
1 10 100 1000
v =
1 100 10000 1000000
See Also
expcdf, expfit, expinv, exppdf, exprnd
| exprnd | fcdf | ![]() |