MATLAB: How to do testing and training using feed forward neural network

classifiction feedforward nn

hello, i'm new in neural network. actually i want to do classification for ankle movement dorsiflexion and plantarflexion.
i'm using feedforward NN but i'm not really undertsand how does it works.
anyone can help me?

Best Answer

Use patternnet, not feedforwardnet. The target matrix should be a row vector containg zeros and ones indicating the true class of the corresponding input.
help patternnet
doc patternnet
Hope this helps.
Greg