Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

expstat - Exponential mean and variance

Syntax

[m,v] = expstat(mu)

Description

[m,v] = expstat(mu) returns the mean of and variance for the exponential distribution with parameters mu. mu can be a vectors, matrix, or multidimensional array. 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 | explike | exppdf | exprnd | expstat

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS