Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Help with Random Variable Generation
Date: Fri, 16 Jan 2009 21:09:02 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 9
Message-ID: <gkqt1e$7su$1@fred.mathworks.com>
References: <gkqh11$osq$1@fred.mathworks.com> <gkqrru$fht$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232140142 8094 172.30.248.35 (16 Jan 2009 21:09:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 16 Jan 2009 21:09:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:512137

"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gkqrru$fht$1@fred.mathworks.com>...

> 
>  x = sum(rand(1,2))-1;
> 

Clever!

Bruno