Compute mean and variance of the gamma distribution.
a and b must be of common size or one of them must be scalar
a = 1:6; b = 1:0.2:2; [m, v] = gamstat (a, b)
[m, v] = gamstat (a, 1.5)
Package: statistics