riceinv
statistics: x = riceinv (p, s, 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 non-centrality (distance) parameter s and scale parameter sigma. The size of x is the common size of x, s, 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
Plot various iCDFs from the Rician 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 ({'s = 0, σ = 1', 's = 0.5, σ = 1', 's = 1, σ = 1', ...
's = 2, σ = 1', 's = 4, σ = 1'}, 'location', 'northwest')
title ('Rician iCDF')
xlabel ('probability')
ylabel ('values in x')