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$>
References: <jmde4t$hd4$> <jmevbj$o98$> <jmg1b2$4gd$> <jmg48r$ffs$> <jmgume$q8d$>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1334575269 29788 (16 Apr 2012 11:21:09 GMT)
NNTP-Posting-Date: Mon, 16 Apr 2012 11:21:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: comp.soft-sys.matlab:764673

"David Epstein" <> wrote in message <jmgume$q8d$>...
> 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).