tripdf
Triangular probability density function (PDF).
For each element of x, compute the probability density function (PDF) at x of the triangular distribution with parameters a, b, and c on the interval [a, b]. The size of y is the common size of the input arguments. A scalar input functions as a constant matrix of the same size as the other inputs.
See also: tricdf, triinv, trirnd
Source Code: tripdf