Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!f10g2000vbl.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: random matrix generation
Date: Mon, 9 Nov 2009 03:27:03 -0800 (PST)
Organization: http://groups.google.com
Lines: 13
Message-ID: <aa844447-5a0b-4b11-b2af-fa5722a871ec@f10g2000vbl.googlegroups.com>
References: <5b29b80c-64b8-47cc-bc93-493bb9591d42@r5g2000yqb.googlegroups.com> 
	<hd6ohv$tds$1@news.eternal-september.org> <995198ba-9388-4354-aca3-e25e0df9a74b@m38g2000yqd.googlegroups.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257766023 16212 127.0.0.1 (9 Nov 2009 11:27:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 9 Nov 2009 11:27:03 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f10g2000vbl.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB6; CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 
	3.0.04506.648; .NET CLR 3.5.21022; AskTB5.5),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:583511


I think dpb and Bruno give excellent examples.  For one more, you
could get vertical correlation betrween rows by doing a convolution in
the vertical direction with a rectangular window (i.e. just average
some number of rows in a given column).  I believe that according to
the central limit theorem, this will tend toward giving a probability
density function that is a Gaussian.  Again, this will satisfy your
vague, overly broad definition.

You can generate random numbers according to any given pdf if you know
the pdf that you want.  You sort of generate the cdf and invert the
equation - standard stuff out of many textbooks.  But the key word is
"given."  If you don't give anything then you need to take what we
give you.