Re: Multivariate Normal Distribution
- From: Randy Poe <poespam-trap@xxxxxxxxx>
- Date: Sat, 22 Sep 2007 16:50:43 -0700
On Sep 22, 5:30 pm, "Jimmy Bozikis" <dimi...@xxxxxxxxxxx> wrote:
Hi to all of u!
I want to simulate a multivariate normal distribution using
matlab!
Could someone help me on how to do that?
I think I just answered this question on this newsgroup a
day or two ago.
At any rate, the answer is to use the Cholesky decomposition.
Suppose you want N samples of multivariate m-vectors
with m x m covariance matrix C.
X = randn(N, m);
R = chol(C);
Y = C*X;
The matrix Y is multivariate normal, zero mean, covariance C.
- Randy
.
- Follow-Ups:
- Re: Multivariate Normal Distribution
- From: carlos lopez
- Re: Multivariate Normal Distribution
- References:
- Multivariate Normal Distribution
- From: Jimmy Bozikis
- Multivariate Normal Distribution
- Prev by Date: Re: Multivariate Normal Distribution
- Next by Date: Re: Importing Large Varied Data set with Textscan
- Previous by thread: Re: Multivariate Normal Distribution
- Next by thread: Re: Multivariate Normal Distribution
- Index(es):
Relevant Pages
|