invUniform

Syntax

invUniform(lower, upper, X)

Details

Return the value of an uniform inverse cumulative distribution function.

Parameters

lower and upper are numeric scalars indicating the lower bound and upper bound of a continuous uniform distribution.

X is a floating scalar or vector between 0 and 1.

Returns

A DOUBLE scalar or vector.

Examples

invUniform(0.627, 2.31, [0.001, 0.5, 0.999]);
// output: [0.628683, 1.4685, 2.308317]

invUniform(0.627, 2.31, [0.1, 0.3, 0.5, 0.7, 0.9]);
// output: [0.7953, 1.1319, 1.4685, 1.8051, 2.1417]