Path: news.mathworks.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!support1.mathforum.org!not-for-mail
From: Tim Smith <imaccormick@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Random matrix with zeros and ones and twos
Date: Mon, 10 Nov 2008 15:22:24 EST
Organization: The Math Forum
Lines: 8
Message-ID: <20513365.1226348574762.JavaMail.jakarta@nitrogen.mathforum.org>
References: <7946648.1226342494201.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1226348574 29161 144.118.30.135 (10 Nov 2008 20:22:54 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Mon, 10 Nov 2008 20:22:54 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:500070


Hey,

Thanks for the reply

I need to create a 100 x 100 matrix filled a% with zeros, b% with ones and c% twos a+b+c=100%. The distribution should be random.


Tim Smith