Neural Network Toolbox    

Simulation With Sequential Inputs in a Dynamic Network

When a network contains delays, the input to the network would normally be a sequence of input vectors that occur in a certain time order. To illustrate this case, we use a simple network that contains one delay.

The following commands create this network:

Assign the weight matrix to be

.

The command is

Suppose that the input sequence is

Sequential inputs are presented to the network as elements of a cell array:

We can now simulate the network:

We input a cell array containing a sequence of inputs, and the network produced a cell array containing a sequence of outputs. Note that the order of the inputs is important when they are presented as a sequence. In this case, the current output is obtained by multiplying the current input by 1 and the preceding input by 2 and summing the result. If we were to change the order of the inputs, it would change the numbers we would obtain in the output.


  Simulation With Concurrent Inputs in a Static Network Simulation With Concurrent Inputs in a Dynamic Network