When I use NARX neural work to make a prediction for a time series following the example in Matlab Help as follows,
'netp = removedelay(net); view(netp) [Xs,Xi,Ai,Ts] = preparets(netp,X,{},T); y = netp(Xs,Xi,Ai)'
The command of ‘preparets’ is used for prepare the input for the net. But by specifying the input X (external input), T (target), for 'preparets', the value of T should be already known before the prediction acutally conducted. What if the predicted value is unknown and the external input for the next time step is known, how to arrange the data to do the prediction then?
Thanks
Jun
Best Answer