gamcdf
Compute gamma distribution cumulative distribution function values.
Syntax
p=gamcdf(x,a,b)
Inputs
- x
- Values of the distribution random variable.
- a
- Shape parameter.
- b
- Scale parameter.
Outputs
- p
- Cumulative probability values.
Examples
Single value gamcdf example:
x = 4;
a = 10;
b = 0.5;
p = gamcdf(x,a,b)
p = 0.28338
x = [1:1:9];
a = 10;
b = 0.5;
p = gamcdf(x,a,b)
p = [Matrix] 1 x 9
4.6498e-05 0.0081322 0.083924 0.28338 0.54207 0.75761 0.8906 0.9567 0.98462