I am new to using matlab I am trying make a network which has 20 inputs and one output, when i run the code it says :
"Error using ==> network/sim
Inputs are incorrectly sized for network.
Matrix must have 39 rows. "
and points to the line NNA=sim(NN,I)
Below is how I have declared I. Can anybody point me in the right direction with this error? If more code is needed please ask.