Landauinv
Contents
Definition:
x = Landauinv(p,mu,sigma) takes the probability p, location parameters mu and scale parameter sigma of the Landau distribution, computes the deviate x.
Syntax
double landauinv(double p, double mu, double sigma)
Parameters:
p
- Input, double. The probability,
, from the required Landau distribution
.
mu
- Input, double. Location parameter of the Landau distribution
.
sigma
- Input, double. Scale parameter of the Landau distribution
.
Example:
- Landauinv (0.2, 1, 2) = 0.69287867482898