Function Reference: riceinv

statistics: x = riceinv (p, nu, sigma)

Inverse of the Rician distribution (iCDF).

For each element of p, compute the quantile (the inverse of the CDF) of the Rician distribution with with with non-centrality (distance) parameter nu and scale parameter sigma. The size of x is the common size of x, nu, and sigma. A scalar input functions as a constant matrix of the same size as the other inputs.

Further information about the Rician distribution can be found at https://en.wikipedia.org/wiki/Rice_distribution

See also: ricecdf, ricepdf, ricernd, ricefit, ricelike, ricestat

Source Code: riceinv

Example: 1

 

 ## Plot various iCDFs from the Beta distribution
 p = 0.001:0.001:0.999;
 x1 = riceinv (p, 0, 1);
 x2 = riceinv (p, 0.5, 1);
 x3 = riceinv (p, 1, 1);
 x4 = riceinv (p, 2, 1);
 x5 = riceinv (p, 4, 1);
 plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-m", p, x5, "-k")
 grid on
 legend ({"ν = 0, σ = 1", "ν = 0.5, σ = 1", "ν = 1, σ = 1", ...
          "ν = 2, σ = 1", "ν = 4, σ = 1"}, "location", "northwest")
 title ("Beta iCDF")
 xlabel ("probability")
 ylabel ("values in x")

                    
plotted figure