Neural Network Toolbox™ Previous page   Next Page 
getx
 Provide feedback about this page

All network weight and bias values as single vector

Syntax

Description

getx gets a network's weight and biases as a vector of values.

X = getx(net)

net
Neural network
X
Vector of weight and bias values

Examples

Here is a network with a two-element input and one layer of three neurons.

You can get its weight and bias values as follows:

Get these values as a single vector as follows:

See Also

setx


 Provide feedback about this page 

Previous page gensim gridtop Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS