I am using feed-forward neural networks for stock prediction, but i am getting problems on training function (pre-define in matlab). Its about input/output size. I set it regarding to function instruction (given in tool), but do not get results.
I think first of all you have to be confident about the dimension of your data. cat error occurs when you trying to concatenate data having unequal dimension. for second error I am suggesting you to
1) use single precision in your code
2) check matlab memory. also can use memory command at various place to check explosion in usage. :)
3) check there is no any infinite loop operates within code
4) if using windows turn on data swapping
5) clear variable within your code which has no longer in use
6) at last if using 32 bit machine, its advisable to use 64 bit machine with good RAM