I have a qustion about Neural Network toolbox. I want to design a neural network as shown on the image bellow. As you can see it consists of two networks with identical inputs, the only diference is that output of the second network is multipied by u(k).
Now my question is: is it even possible to use Neural Network Toolbox and how to use it to construct and train neural network from above image?
PS: This network is basically a NARMA-L2 model, I know that Simulink includes NARMA L2 controller block, but I want to implement this algoritm in from scratch in Matlab script. So if anyone ever implemented NARMA L2 controller from scratch, I would really apriciate any suggestions and help on that topic also.
Thankyou for you help and time,