Neural Network Toolbox Previous page   Next Page
getx

Get all network weight and bias values as a single vector

Syntax

Description

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

X = getx(NET)

Examples

Here we create a network with a two-element input, and one layer of three neurons.

We can get its weight and bias values as follows:

We can get these values as a single vector as follows:

See Also

setx, formx


Previous page  gensim gridtop Next page

© 1994-2005 The MathWorks, Inc.