Neural Network Toolbox Previous page   Next Page
dnetsum

Sum net input derivative function

Syntax

dN_dZ = dnetsum(Z,N)

Description

dnetsum is the net input derivative function for netsum.

dnetsum takes two arguments,

and returns the S x Q derivative dN/dZ.

Examples

Here we define two weighted inputs for a layer with three neurons.

We calculate the layer's net input N with netsum and then the derivative of N with respect to each weighted input.

Algorithm

The derivative of a sum with respect to any element of that sum is always a ones matrix that is the same size as the sum.

See Also

netsum, netprod, dnetprod


Previous page  dnetprod dotprod Next page

© 1994-2005 The MathWorks, Inc.