Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Neural Network input format
Replies: 1   Last Post: Feb 19, 2013 11:13 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Greg Heath

Posts: 5,949
Registered: 12/7/04
Re: Neural Network input format
Posted: Feb 19, 2013 11:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"sajid " <engrsajidanwar@yahoo.com> wrote in message <kful9e$r9d$1@newscl01ah.mathworks.com>...
> Dear All,
>
> I want to train the neural network with vectors. Vectors contain both magnitude and direction and can be represented as a complex number. But whenever I try to do this, I receive this error message.
>
> Error using nntraining.setup (line 13)
> Inputs X is complex.
>
> Now how can I input vectors (both magnitude and angle) to the neural network and train it for my problem ?
>


Convert to cartesian and use

input = [ x ; y ]

so that

[ 2 N ] = size( input)

Hope this helps.

Greg



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.