Neural Network Toolbox Previous page   Next Page
prestd

Preprocess data so that its mean is 0 and the standard deviation is 1

Syntax

[pn,meanp,stdp,tn,meant,stdt] = prestd(p,t)

[pn,meanp,stdp] = prestd(p)

Description

prestd preprocesses the network training set by normalizing the inputs and targets so that they have means of zero and standard deviations of 1.

prestd(p,t) takes these inputs,

and returns,

Examples

Here is the code to normalize a given data set so that the inputs and targets will have means of zero and standard deviations of 1.

If you just want to normalize the input,

Algorithm

See Also

premnmx, prepca


Previous page  prepca purelin Next page

© 1994-2005 The MathWorks, Inc.