Draw random variables student t distribution

I want to draw standardized values with a t-distribution, so I want to generate iid numbers from the student-t distribution with mean zero and variance 1.
I can use the Matlab function 'trnd(nu).' Does this generate random numbers with mean zero and variance 1?

Preguntada:

el 16 de Jun. de 2016

Respondida:

el 16 de Jun. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by