R = mvtrnd(C,nu)
returns random numbers sampled from a multivariate t distribution with
the correlation matrix C and nu degrees of
freedom.
R = mvtrnd(C,nu,n)
returns a matrix R of n random vectors selected
from the same multivariate t distribution, with the correlation matrix
C and nu degrees of freedom.
Correlation matrix, specified as a square, symmetric, positive definite matrix. If
the diagonal elements of C are not all 1 (that is, if
C is a covariance matrix rather than a correlation matrix), then
the mvtrnd function rescales C to transform
it to a correlation matrix before generating the random numbers.
Data Types: single | double
Degrees of freedom of the multivariate t distribution, specified
as a positive scalar or a 1-by-n vector of positive scalars if you
specify n.
Data Types: single | double
Number of multivariate random number vectors, specified as a positive scalar
integer. n specifies the number of rows in
R.
Multivariate random numbers, returned as an
m-by-d numeric matrix, where
m is the value of n (or 1, if you do not
specify n), and d is the dimension of
C.
The function generates each row of R as a vector that has a
multivariate t distribution with mean 0, variance 1, and covariance
matrix C, divided by an independent chi-square random value having
nu degrees of freedom. The rows of R are
independent.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.