Building a NARX in MATLAB to forecast time series data.
Isaac Godfried

Hi Issac

I had to comment out a few lines of the code to make it work, namely line 37 as matlab did not know what ‘ed’ was. Please advise? It also seems as though you have a number of functions for networks in this functions, so i commented out the closed loop function. Essentially I want to predict one step ahead so i am commenting out those functions I do not need. I assume the predicted value is y from line 36?

Like what you read? Give DCap a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.