FUNCTION REFERENCE

tcdf

Student's t cumulative distribution function.

Student's t cumulative distribution function.

Syntax

Y = tcdf(X, NU)

Syntax

Y = tcdf(X, NU, 'upper')

P(X' <= X) for the Student's t distribution with degrees of freedom NU > 0 (Inf gives the normal law). With 'upper' it returns P(X' > X), computed directly in that tail so small upper probabilities keep their digits. 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

tcdf(1.5, 5)

Example

tcdf(1.5, 5, 'upper')

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