Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Random sampling with constraints
Date: Mon, 16 Apr 2012 11:21:09 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 7
Message-ID: <jmgvb5$t2s$1@newscl01ah.mathworks.com>
References: <jmde4t$hd4$1@newscl01ah.mathworks.com> <jmevbj$o98$1@newscl01ah.mathworks.com> <jmg1b2$4gd$1@newscl01ah.mathworks.com> <jmg48r$ffs$1@newscl01ah.mathworks.com> <jmgume$q8d$1@newscl01ah.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: www-04-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1334575269 29788 172.30.248.35 (16 Apr 2012 11:21:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 Apr 2012 11:21:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:764673

"David Epstein" <David.Epstein.spam@remove.warwick.ac.uk> wrote in message <jmgume$q8d$1@newscl01ah.mathworks.com>...
> 
> Roger: do have a reason for the adjective "heuristic"? Probably I'm missing something, but it seems to me that it should be easy to prove that Bruno's answer is correct, on the basis of the incorrect assumption that Matlab's random number generator is truly random.

Go ahead David. But I'm with Roger, it won't be easy to prove or disprove that my method provides a uniform distribution (it might be good enough for your purpose though).

Bruno