norminv

Compute normal distribution inverse cumulative distribution function values.

Syntax

x=norminv(p)

x=norminv(p,mu,sigma)

Inputs

p
Probability values.
Type: double
Dimension: scalar | vector | matrix
mu
Mean (default = 0).
Type: double
Dimension: scalar | vector | matrix
sigma
Standard Deviation (default = 1).
Type: double
Dimension: scalar | vector | matrix

Outputs

x
Values of the distribution random variable.

Examples

Single value norminv example:

p = 0.25;
mu = 5;
sigma = 3;
x = norminv(p,mu,sigma)
x = 2.9765
Vector norminv example:
p = [0.1:0.1:0.9];
mu = 5;
sigma = 3;
x = norminv(p,mu,sigma)
x = [Matrix] 1 x 9
1.1553 2.4751 3.4268 4.24 5 5.76 6.5732 7.5249 8.8447