gamma
Gamma function.
Syntax
x=gamma(a)
Inputs
- a
- Type: double | integer
Outputs
- x
- Gamma function values.
Examples
Single gamma value
example:
x=gamma(3)
x = 2
Matrix gamma
example:
x=gamma([4 6 8;6 4 2; 7 4 2])
x = [Matrix] 3 x 3
6 120 5040
120 6 1
720 6 1