Configuring a NARX network's inputs and outputs

Hello!
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!

2 Comments

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.

 Accepted Answer

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

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2017b

Community Treasure Hunt

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

Start Hunting!