Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!postnews.google.com!l28g2000vba.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to generate randomized weights for network topology?
Date: Fri, 22 May 2009 03:23:39 -0700 (PDT)
Organization: http://groups.google.com
Lines: 26
Message-ID: <bba90505-b227-4e9c-9521-ebead271666d@l28g2000vba.googlegroups.com>
References: <gv12dk$fub$1@fred.mathworks.com> <e43703d2-b68a-4202-879b-70dbb48028da@t10g2000vbg.googlegroups.com> 
	<gv53p1$dir$1@fred.mathworks.com>
NNTP-Posting-Host: 68.39.98.10
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1242987819 26433 127.0.0.1 (22 May 2009 10:23:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 22 May 2009 10:23:39 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l28g2000vba.googlegroups.com; posting-host=68.39.98.10; 
	posting-account=mUealwkAAACvQrLWvunjg50tRAnsNtJR
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; 
	Comcast Install 1.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) 
	; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; Seekmo 
	10.0.341.0),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:541751


On May 21, 10:48 pm, "Marat " <nemesis_...@yahoo.com> wrote:
> My apologies for not being clear. I have a network topology of 3 nodes, and I need to have weights for the links between nodes thats is of this pattern:
>
> 0   10   4
> 10  0   10
> 4   10   0  
>
> This represents the weights between nodes, say between nodes 1 and 2 is 20, and since it is bi-directional  the weights between nodes 2 and 1 is also 20. I need help in generating such weights for larger number of nodes.
>
> Thanks you for your time.

You are still not clear.

What type of net do you have?

For example, an I-H-O FF MLP can be created using
net = newff(p,t,H);
Modifiable weights are contained in net.IW,net.LW and net.b.

Still need more info.

Greg