Neural Network Toolbox Previous page   Next Page
calca

Calculate network outputs and other signals

Syntax

[Ac,N,LWZ,IWZ,BZ] = calca(net,Pd,Ai,Q,TS)

Description

This function calculates the outputs of each layer in response to a network's delayed inputs and initial layer delay conditions.

[Ac,N,LWZ,IWZ,BZ] = calca(net,Pd,Ai,Q,TS) takes,

   and returns,

Examples

Here we create a linear network with a single input element ranging from 0 to 1, three neurons, and a tap delay on the input with taps at zero, two, and four time steps. The network is also given a recurrent connection from layer 1 to itself with tap delays of [1 2].

Here is a single (Q = 1) input sequence P with eight time steps (TS = 8), and the four initial input delay conditions Pi, combined inputs Pc, and delayed inputs Pd.

     Here the two initial layer delay conditions for each of the three neurons are defined:

     Here we calculate the network's combined outputs Ac, and other signals described above.


Previous page  boxdist calca1 Next page

© 1994-2005 The MathWorks, Inc.