Main Content
geopdf
Geometric probability density function
Syntax
y = geopdf(x,p)
Description
y = geopdf(x,p)
returns
the probability density function (pdf) of the geometric distribution
at each value in x
using the corresponding probabilities
in p
. x
and p
can
be vectors, matrices, or multidimensional arrays that all have the
same size. A scalar input is expanded to a constant array with the
same dimensions as the other input. The parameters in p
must
lie on the interval [0,1]
.
Examples
More About
Extended Capabilities
Version History
Introduced before R2006a