12.07.2015 Views

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

218 <strong>GNU</strong> <strong>Octave</strong>gamma inv (x, a, b)Function FileFor each component of x, compute the quantile (the inverse of the CDF) at x of theGamma distribution with parameters a and b.gamma pdf (x, a, b)Function FileFor each element of x, return the probability density function (PDF) at x of theGamma distribution with parameters a and b.gamma rnd (a, b, r, c)Function Filegamma rnd (a, b, sz)Function FileReturn an r by c or a size (sz) matrix of random samples from the Gamma distributionwith parameters a and b. Both a and b must be scalar or of size r byc.If r and c are omitted, the size of the result matrix is the common size of a and b.geometric cdf (x, p)Function FileFor each element of x, compute the CDF at x of the geometric distribution withparameter p.geometric inv (x, p)Function FileFor each element of x, compute the quantile at x of the geometric distribution withparameter p.geometric pdf (x, p)Function FileFor each element of x, compute the probability density function (PDF) at x of thegeometric distribution with parameter p.geometric rnd (p, r, c)Function Filegeometric rnd (p, sz)Function FileReturn an r by c matrix of random samples from the geometric distribution withparameter p, which must be a scalar or of size r by c.If r and c are given create a matrix with r rows and c columns. Or if sz is a vector,create a matrix of size sz.hypergeometric cdf (x, m, t, n)Function FileCompute the cumulative distribution function (CDF) at x of the hypergeometricdistribution with parameters m, t, and n. This is the probability of obtaining not morethan x marked items when randomly drawing a sample of size n without replacementfrom a population of total size t containing m marked items.The parameters m, t, and n must positive integers with m and n not greater than t.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!