Index exceeds matrix dimensions. Error in cfour (line 58) net=newff(P1(:,trains),Tar(:,trains),2); ...
www.mathworks.com