FUNCTION REFERENCE

tpdf

Student's t probability density function.

Student's t probability density function.

Syntax

Y = tpdf(X, NU)

Evaluates the probability density of the Student's t distribution with degrees of freedom NU > 0 (Inf gives the normal law) at X. Parameters without a default are required. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size. Parameters outside their domain give NaN; NaN inputs give NaN.

Example

tpdf(1.5, 5)

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.