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?

类别

帮助中心File Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by