geopdf - . Examples Suppose you toss a fair coin...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
geopdf Geometric probability density function Syntax Y = geopdf(X,P) Description Y = geopdf(X,P) computes the geometric pdf at each of the values 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]. The geometric pdf is where
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: . Examples Suppose you toss a fair coin repeatedly. If the coin lands face up (heads), that is a success. What is the probability of observing exactly three tails before getting a heads? p = geopdf(3,0.5) p = 0.0625 See Also pdf , geocdf , geoinv , geostat , geornd Geometric Distribution Provide feedback about this page geomean geornd 1984-2009 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments...
View Full Document

Page1 / 2

geopdf - . Examples Suppose you toss a fair coin...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online