Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!b38g2000prf.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how newff works in matrix?
Date: Wed, 12 Nov 2008 10:09:27 -0800 (PST)
Organization: http://groups.google.com
Lines: 37
Message-ID: <82c1d8f0-e308-40fe-8207-4aa4b022b48e@b38g2000prf.googlegroups.com>
References: <gf6ami$b39$1@fred.mathworks.com> <gf86be$t96$1@fred.mathworks.com> 
	<eiORk.1405$e5.28@newsfe01.iad> <gf8d4q$8jv$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 1226513367 9390 127.0.0.1 (12 Nov 2008 18:09:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Nov 2008 18:09:27 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b38g2000prf.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; 
	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)
Bytes: 2547
Xref: news.mathworks.com comp.soft-sys.matlab:500454


On Nov 9, 11:26=A0pm, "Ning" <ning.ro...@gmail.com> wrote:
> Walter Roberson <rober...@hushmail.com> wrote in message >
> > Well here goes...
>
> > ??? Undefined function or method 'minmax' for input arguments of type '=
double'.
>
> > Mind you, if it hadn't failed there, it would have failed because it do=
esn't know what
> > newff is.
>
> > Looking at your call to 'train', I would suspect that you are trying to=
 use
> > functions from theNeuralNetwork Toolbox. If so... sorry, the weekend re=
gulars
> > around here tend not to have theNeuralNetwork Toolbox.
>
> > {Myself, I can't see any reason why y2 should approximate y1 any better=
 than would
> > have been the case for Q =3D meshgrid(sort(rand(1,5)),1:4) so it is pro=
bably a good
> > thing that I don't do any NN work! }
>
> As inputs, Q(1,:) =3D P(1,:), therefore if the net relationship was built=
, y1(1,:) would be equal to or approximate y2(1,:). So the wrong result pro=
bably attributed to the failed net building

The inputs to net are column vectors, not row vectors.

Also, reexamine your usage of linspace and meshgrid

help linspace
help meshgrid

Hope this helps.

Greg