Specify input for NARX

I am following the example about NARX (autogressive nerual network with external inputs)
What I want in my study case is that the external input need to be specified as a matrix. The manual already showed a case to address multiple external variables(which is a vector). The question is how I can let the input be a matrix?
Thanks a lot!!

 采纳的回答

Inputs are assumed to be matrices containing N I-dimensional vectors corresponding to N O-dimensional target/output vectors.
[ I N ] = size(input)
[O N ] = size(target)
If you have an rxc dimensional matrix, A, that is supposed to be a single input
input = A(:)
I = r x c
N = 1
Hope this helps.
Thank you for formally accepting my answer
Greg

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by