FUNCTION REFERENCE

unifcdf

Continuous uniform cumulative distribution function.

Continuous uniform cumulative distribution function.

Syntax

Y = unifcdf(X, A, B)

Syntax

Y = unifcdf(X, A, B, 'upper')

P(X' <= X) for the continuous uniform distribution with support [A, B] with A < B (defaults 0 and 1). With 'upper' it returns P(X' > X), computed directly in that tail so small upper probabilities keep their digits. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size. Parameters outside their domain give NaN; NaN inputs give NaN.

Example

unifcdf(0.3, 0, 2)

Example

unifcdf(0.3, 0, 2, 'upper')

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.