Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to genereate a n*n probality transition matrix
Date: Sat, 3 Apr 2010 04:36:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <hp6gjl$7ev$1@fred.mathworks.com>
References: <hp3lln$fka$1@fred.mathworks.com> <hp64jp$2f2$1@fred.mathworks.com> <hp6dlr$s75$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1270269365 7647 172.30.248.38 (3 Apr 2010 04:36:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 3 Apr 2010 04:36:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:623083

Hi Roger,

I think your explanation is awesome. Thanks!

In fact, I didn't ever mean to produce something that is of uniform distribution nature. The OP just wanted to generate any matrix whose rows added up to 1. This is why I picked rand. 

Thanks again.

Best.