FUNCTION REFERENCE

unifinv

Inverse of the continuous uniform cumulative distribution function.

Inverse of the continuous uniform cumulative distribution function.

Syntax

X = unifinv(Y, A, B)

Returns X with cdf(X) = Y for Y in [0, 1]; a quantile beyond the largest double is Inf (or -Inf). Parameters as in unifcdf: support [A, B] with A < B (defaults 0 and 1). Y outside [0, 1] gives NaN. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size.

Example

unifinv(0.3, 0, 2)

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