y = tpdf(x, v)
| Parameter | Description |
|---|---|
| x | real numeric array: values where the distribution is evaluated. |
| v | positive real numeric array or scalar: degrees of freedom. |
| Parameter | Description |
|---|---|
| y | probability density values. |
tpdf computes Student t probability density values. Scalar inputs are expanded to match array inputs.
x = [-3 -1 0 1 3];
y = tpdf(x, 5);
| Version | Description |
|---|---|
| 2.0.0 | initial version |