| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
netprod is a net input function. Net input functions calculate a layer's net input by combining its weighted inputs and biases.
| Zi |
S x Q matrices in a row cell array |
| FP |
Row cell array of function parameters (optional, ignored) |
and returns an elementwise product of Z1 to Zn.
netprod(code) returns information about this function. The following codes are defined:
Here netprod combines two sets of weighted input vectors (user-defined).
Here netprod combines the same weighted inputs with a bias vector. Because Z1 and Z2 each contain three concurrent vectors, three concurrent copies of B must be created with concur so that all sizes match.
You can create a standard network that uses netprod by calling newpnn or newgrnn.
To change a network so that a layer uses netprod, set net.layers{i}.netInputFcn to 'netprod'.
In either case, call sim to simulate the network with netprod. See newpnn or newgrnn for simulation examples.
| Provide feedback about this page |
![]() | netinv | netsum | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |