MATLAB: How to get the function y(t) from NARX problem in Neural Network Time Series Tool

neural network time series tool

How can I get the function y(t) from NARX problem in Neural Network Time Series Tool?

Best Answer

Since your model is not nonlinear, just use NARXNET with no hidden nodes.
X = con2seq(giveninput);
T = con2seq(giventarget);
net = narx(1:2,1:2,[]);
The rest follows from the documentation examples
help narxnet
doc narxet
Hope this helps
Thank you for formally accepting my answer
Greg