Your code works on the dataset in the documentation
However, I did not try it on any of the other NARNET example datasets:
help nndatasets
doc nndatasets
I can only quote my general approach :
a. Test code on one or more a MATLAB example datasets
b. Use your data to obtain the best openloop performance of multiple (>=10) designs
c. If closing the loop sufficiently degrades performance, then train netc.
Hope this helps
Thank you for formally accepting my answer
Greg
Best Answer