betapdf
Beta probability density function (PDF).
For each element of x, compute the probability density function (PDF) at x of the Beta distribution with parameters a and b. The size of y is the common size of x, a and b. A scalar input functions as a constant matrix of the same size as the other inputs.
See also: betacdf, betainv, betarnd, betastat
Source Code: betapdf