unifinv

Compute uniform distribution inverse cumulative distribution function values.

Syntax

x=unifinv(p,a,b)

Inputs

p
Probability values.
Type: double
Dimension: scalar | vector | matrix
a
Lower bound (default = 0).
Type: double
Dimension: scalar | vector | matrix
b
Upper bound (default = 1).
Type: double
Dimension: scalar | vector | matrix

Outputs

x
Percentile values.

Examples

Single value unifinv example:
p = 0.4;
a = 3;
b = 5;
x = unifinv(p,a,b)
x = 3.8
Vector unifinv example:
p = [0.1:0.2:0.9];
a = 3;
b = 5;
x = unifinv(p,a,b)
x = [Matrix] 1 x 5
3.2 3.6 4 4.4 4.8