MATLAB: How to create a target data set based on input data set in a neural network

Deep Learning Toolboxntstooltarget data

I have an input dataset. I want to create a target dataset to perform time series analysis using a neural network. I browsed a lot, but I couldn't find any convincing solution. Can any one help me with this?

Best Answer

If the input data set is x(n), ( n = 1:N )
the output data set could be
y(n) = f( x(n), x(n-1), ... x(n-m) ), for n > m
Typically, f is linear.
Hope this helps.
Thank you for formally accepting my answer
Greg