| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
Calculate network outputs, signals, and performance
This function calculates the outputs of each layer in response to a network's delayed inputs and initial layer delay conditions.
[perf,El,Ac,N,LWZ,IWZ,BZ] = calcperf(net,X,Pd,Tl,Ai,Q,TS) takes
| net |
Neural network |
| X |
Network weight and bias values in a single vector |
| Pd |
Delayed inputs |
| Tl |
Layer targets |
| Ai |
Initial layer delay conditions |
| Q |
Concurrent size |
| TS |
Time steps |
| perf |
Network performance |
| El |
Layer errors |
| Ac |
Combined layer outputs = [Ai, calculated layer outputs] |
| N |
Net inputs |
| LWZ |
Weighted layer outputs |
| IWZ |
Weighted inputs |
| BZ |
Concurrent biases |
Here is a linear network with a single input element ranging from 0 to 1, two neurons, and a tap delay on the input with taps at 0, 2, and 4 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 five time steps (TS = 5), 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 two neurons are defined.
Here the layer targets for the two neurons for each of the five time steps are defined.
Here the network's weight and bias values are extracted.
Here the network's combined outputs Ac and other signals described above are calculated.
| Provide feedback about this page |
![]() | calcpd | combvec | ![]() |

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 |