MATLAB Answers


Configuring a NARX network's inputs and outputs

Asked by Maksym Zawrotny on 17 Oct 2018
Latest activity Answered by Maksym Zawrotny on 18 Oct 2018
I have created basic NARX NN by:
net1 = narxnet(0, 1, 5, 'open', 'trainbr');
I checked it with view(net1) and I got 0 inputs and 0 outputs network. I tried to configurate network by:
net1 = configure(net1, learnWysterowanie, learnMocMlyna);
where: learnWysterowanie is 217x1 column vector with input data and learnMocMlyna is 217x1 column vector containing target data.
Method doesnt work - I get this error:
The numbers of input signals and networks inputs do not match.
Do anyone has an idea what I am doing bad so I cannot configurate my ANN?
Thank you!


Have you tried neural network time series apps?
Yes I tried app, but I dont like it. I need a network without delay of inputs, but with delays on feedback. App doesn't permit me to do that, so I am doing it by coding.

Sign in to comment.

1 Answer

Answer by Maksym Zawrotny on 18 Oct 2018
 Accepted Answer

I found a solution. It has tobe configured in closedloop mode. I don't know why, but it solved this problem.


Sign in to comment.