unidpdf
Builtin index · Statistics & ML
result = unidpdf(k, N)
Input: k, N · Output: result
What it is
Probability mass of the discrete uniform distribution at k (a number, vector or matrix, elementwise); zero at a non-integer or out-of-support k. Support: 1, 2, ..., N.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = unidpdf(k, N) | k —zero at a non-integer or out-of-support k.N —Support: 1, 2, ..., N. | result — | Returns the same shape as k. Added in v0.4.4. |
Examples
No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.