Home > freetb4matlab > statistics > expstat.m

# expstat

## PURPOSE

% Compute mean and variance of the exponential distribution.

## SYNOPSIS

function [m, v] = expstat (l)

## DESCRIPTION

```% -*- texinfo -*-
% @deftypefn {Function File} {[@var{m}, @var{v}] =} expstat (@var{l})
% Compute mean and variance of the exponential distribution.
%
%
% @itemize @bullet
% @item
% @var{l} is the parameter of the exponential distribution. The
% elements of @var{l} must be positive
% @end itemize
%
%
% @itemize @bullet
% @item
% @var{m} is the mean of the exponential distribution
%
% @item
% @var{v} is the variance of the exponential distribution
% @end itemize
%
%
% @example
% @group
% l = 1:6;
% [m, v] = expstat (l)
% @end group
% @end example
%
%
% @enumerate
% @item
% Wendy L. Martinez and Angel R. Martinez. @cite{Computational Statistics
% Handbook with MATLAB}. Appendix E, pages 547-557, Chapman & Hall/CRC,
% 2001.
%
% @item
% Athanasios Papoulis. @cite{Probability, Random Variables, and Stochastic
% Processes}. McGraw-Hill, New York, second edition, 1984.
% @end enumerate
% @end deftypefn```

## CROSS-REFERENCE INFORMATION

This function calls:
This function is called by:

Generated on Sat 16-May-2009 00:04:49 by m2html © 2003