From: "Tomaz " <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Conditional sampling from multivariate normal distribution
Date: Mon, 12 Apr 2010 16:41:05 +0000 (UTC)
Organization: Universiteit van Tilburg
Lines: 16
Message-ID: <hpvif0$9ih$>
References: <hpuqjr$295$> <hpv9rm$n2d$>
Reply-To: "Tomaz " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1271090465 9809 (12 Apr 2010 16:41:05 GMT)
NNTP-Posting-Date: Mon, 12 Apr 2010 16:41:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2037399
Xref: comp.soft-sys.matlab:625885

Peter Perkins <> wrote in message <hpv9rm$n2d$>...
> On 4/12/2010 5:54 AM, Tomaz wrote:
> > In Matlab I know the mvnrnd(MU,SIGMA) function. This gives me a random
> > vector drawn from multivariate normal distribution characterized by MU
> > and SIGMA. Now I am searching for the simplest way to get a value for
> > only one of the attributes that make up the vector (given that I know
> > the values of the rest attributes). If I am not mistaken this would be
> > called conditional sampling?
> Tomaz, I think this Wikipedia section is what you are looking for:
> <>

Peter thanks, but is is this also useful when dealing with more than 2 independent variables? 
And I guess that there is no 'straightforward' way of doing this in Matlab?