Path: news.mathworks.com!not-for-mail
From: "Alan B" <monguin61@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to generate randomized weights for network topology?
Date: Fri, 22 May 2009 14:32:01 +0000 (UTC)
Organization: UT
Lines: 11
Message-ID: <gv6d10$qd5$1@fred.mathworks.com>
References: <gv12dk$fub$1@fred.mathworks.com> <e43703d2-b68a-4202-879b-70dbb48028da@t10g2000vbg.googlegroups.com> <bba90505-b227-4e9c-9521-ebead271666d@l28g2000vba.googlegroups.com> <gv66u2$q8r$1@fred.mathworks.com>
Reply-To: "Alan B" <monguin61@yahoo.com>
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 1243002721 27045 172.30.248.35 (22 May 2009 14:32:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 22 May 2009 14:32:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1446885
Xref: news.mathworks.com comp.soft-sys.matlab:541808


"Marat " <nemesis_810@yahoo.com> wrote in message <gv66u2$q8r$1@fred.mathworks.com>...
> It is a static network obtained using a separate program, not matlab. The computer network topology is already present. It does not denote neural networks or any other similar types. 
> 
> I am just looking for a way to generate the weights representing Quality of service values.
> 
> Thanks again.

If I understand correctly, you can do this:

a = floor(rand(3)*10)
a = triu(a) + triu(a,1)'