Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: multiple inputs in neural network toolbox
Posted:
Jul 13, 2013 2:43 PM


"Greg Heath" <heath@alumni.brown.edu> wrote in message <krnpab$9hp$1@newscl01ah.mathworks.com>... > "Ahmed Abdullah" <abdullah.ahmed21@yahoo.com> wrote in message <krepi7$54b$1@newscl01ah.mathworks.com>... > > >> My problem is I can construct the network but I don't know how to tell train that there > > >> are 2 inputs. > > >> > > > > >I have exactly the same problem . I tried things like > > >net= configure(net,'inputs',inputs,i); But doesn't work. > > > > Please help. Appreciate your input very much. > > So far, the only answer I have is to vertically concatenate: > > P = [ P1 ; P2 ]; > > Hope this helps. > > Greg
Thank you the idea worked, though after slight modification.P should be a Cell rather than a Matrix .. .. i.e curly bracket in the place of square bracket ( P={P2;P2}).



