Neural Network Toolbox Previous page   Next Page
premnmx

Preprocess data so that minimum is -1 and maximum is 1

Syntax

[PN,minp,maxp,TN,mint,maxt] = premnmx(P,T)

[PN,minp,maxp] = premnmx(P)

Description

premnmx preprocesses the network training set by normalizing the inputs and targets so that they fall in the interval [-1,1].

premnmx(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 fall in the range [-1,1].

If you just want to normalize the input,

Algorithm

See Also

prestd, prepca, postmnmx


Previous page  poststd prepca Next page

© 1994-2005 The MathWorks, Inc.