Qu

unifpdf

Builtin index · Statistics & ML

result = unifpdf(x, a, b)

Input: x, a, b · Output: result

What it is

Probability density of the continuous uniform distribution at x (a number, vector or matrix, elementwise). Support: [a, b].

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = unifpdf(x, a, b)
x number, vector, or matrixProbability density of the continuous uniform distribution at x (a number, vector or matrix, elementwise).
a number, vector, or matrixProbability density of the continuous uniform distribution at x (a number, vector or matrix, elementwise).
b —Support: [a, b].
result —
Returns the same shape as x. Added in v0.4.4.

Examples

No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.