From: "Sadik " <>
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$>
References: <hp3lln$fka$> <hp64jp$2f2$> <hp6dlr$s75$>
Reply-To: "Sadik " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1270269365 7647 (3 Apr 2010 04:36:05 GMT)
NNTP-Posting-Date: Sat, 3 Apr 2010 04:36:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: 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.