ricecdf
"upper"
)Rician cumulative distribution function (CDF).
For each element of x, compute the cumulative distribution function (CDF) of the Rician distribution with non-centrality (distance) parameter s and scale parameter sigma. The size of p 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.
p = ricecdf (x, s, sigma, "upper")
computes
the upper tail probability of the Rician distribution with parameters
s and sigma, at the values in x.
Further information about the Rician distribution can be found at https://en.wikipedia.org/wiki/Rice_distribution
See also: riceinv, ricepdf, ricernd, ricefit, ricelike, ricestat
Source Code: ricecdf
## Plot various CDFs from the Rician distribution x = 0:0.01:10; p1 = ricecdf (x, 0, 1); p2 = ricecdf (x, 0.5, 1); p3 = ricecdf (x, 1, 1); p4 = ricecdf (x, 2, 1); p5 = ricecdf (x, 4, 1); plot (x, p1, "-b", x, p2, "g", x, p3, "-r", x, p4, "-m", x, p5, "-k") grid on ylim ([0, 1]) xlim ([0, 8]) legend ({"s = 0, σ = 1", "s = 0.5, σ = 1", "s = 1, σ = 1", ... "s = 2, σ = 1", "s = 4, σ = 1"}, "location", "southeast") title ("Rician CDF") xlabel ("values in x") ylabel ("probability") |
## Plot various CDFs from the Rician distribution x = 0:0.01:10; p1 = ricecdf (x, 0, 0.5); p2 = ricecdf (x, 0, 2); p3 = ricecdf (x, 0, 3); p4 = ricecdf (x, 2, 2); p5 = ricecdf (x, 4, 2); plot (x, p1, "-b", x, p2, "g", x, p3, "-r", x, p4, "-m", x, p5, "-k") grid on ylim ([0, 1]) xlim ([0, 8]) legend ({"ν = 0, σ = 0.5", "ν = 0, σ = 2", "ν = 0, σ = 3", ... "ν = 2, σ = 2", "ν = 4, σ = 2"}, "location", "southeast") title ("Rician CDF") xlabel ("values in x") ylabel ("probability") |