Which neural net? fitnet(regression/function-fitting), patternnet(classification/pattern-recognition), narxnet(timeseries regression/prediction) or ...?
Before getting into the source code using the command type, it is better to first use the command help , followed by using the command doc
Relevant functions are
cvpartition
cvpartition/training,
cvpartition/test
crossval
cvpartition/repartition
Hope this helps.
Greg
Best Answer