Statistics Toolbox    
trnd

Random numbers from Student's t distribution

Syntax

Description

R = trnd(V) generates random numbers from Student's t distribution with V degrees of freedom. The size of R is the size of V.

R = trnd(V,m) generates random numbers from Student's t distribution with V degrees of freedom, where m is a 1-by-2 vector that contains the row and column dimensions of R.

R = trnd(V,m,n) generates random numbers from Student's t distribution with V degrees of freedom, where scalars m and n are the row and column dimensions of R.

Examples

See Also

tcdf, tinv, tpdf, tstat


  trimmean tstat