Function Reference: unidcdf

statistics: p = unidcdf (x, df)
statistics: p = unidcdf (x, df, "upper")

Discrete uniform cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x of a discrete uniform distribution which assumes the integer values 1–df with equal probability. The size of p is the common size of x and df. A scalar input functions as a constant matrix of the same size as the other inputs.

[…] = logncdf (…, "upper") computes the upper tail probability of the lognormal distribution.

See also: unidinv, unidpdf, unidrnd, unidstat

Source Code: unidcdf