Function Reference: cauchy_pdf

statistics: y = cauchy_pdf (x)
statistics: y = cauchy_pdf (x, location, scale)

Cauchy probability density function (PDF).

For each element of x, compute the probability density function (PDF) at x of the Cauchy distribution with location parameter location and scale parameter scale. The size of y is the common size of x, location, and scale. A scalar input functions as a constant matrix of the same size as the other inputs.

Default values are location = 0, scale = 1.

See also: cauchy_cdf, cauchy_inv, cauchy_rnd

Source Code: cauchy_pdf