| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
Create concurrent bias vectors
| B |
S x 1 bias vector (or Nl x 1 cell array of vectors) |
| Q |
Concurrent size |
Returns an S x B matrix of copies of B (or Nl x 1 cell array of matrices).
Here concur creates three copies of a bias vector.
To calculate a layer's net input, the layer's weighted inputs must be combined with its biases. The following expression calculates the net input for a layer with the netsum net input function, two input weights, and a bias:
The above expression works if Z1, Z2, and B are all S x 1 vectors. However, if the network is being simulated by sim (or adapt or train) in response to Q concurrent vectors, then Z1 and Z2 will be S x Q matrices. Before B can be combined with Z1 and Z2, you must make Q copies of it.
netsum, netprod, sim, seq2con, con2seq
| Provide feedback about this page |
![]() | con2seq | confusion | ![]() |

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 |