Clear Filters
Clear Filters

Draw random variables student t distribution

1 view (last 30 days)
Imner Renmi
Imner Renmi on 16 Jun 2016
Answered: James Tursa on 16 Jun 2016
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?

Answers (1)

James Tursa
James Tursa on 16 Jun 2016
See these links for a description:
In particular, no you can't get a variance of 1.

Community Treasure Hunt

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

Start Hunting!