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

Process matrices by removing rows with constant values

Syntax

Description

removeconstantrows processes matrices by removing rows with constant values.

removeconstantrows(X,max_range) takes X and an optional parameter,

X
Single N x Q matrix or a 1 x TS row cell array of N x Q matrices
max_range
Maximum range of values for row to be removed (default is 0)

and returns

Y
Each M x Q matrix with N - M rows deleted (optional)
PS
Process settings that allow consistent processing of values

removeconstantrows(X,FP) takes parameters as a struct: FP.max_range.

removeconstantrows('apply',X,PS) returns Y, given X and settings PS.

removeconstantrows('reverse',Y,PS) returns X, given Y and settings PS.

removeconstantrows('dx',X,Y,PS) returns the M x N x Q derivative of Y with respect to X.

removeconstantrows('dx',X,[],PS) returns the derivative, less efficiently.

removeconstantrows('name') returns the name of this process method.

removeconstantrows('pdefaults') returns the default process parameter structure.

removeconstantrows('pdesc') returns the process parameter descriptions.

removeconstantrows('pcheck',FP) throws an error if any parameter is illegal.

Examples

Here is how to format a matrix so that the rows with constant values are removed.

Next, apply the same processing settings to new values.

Reverse the processing of y1 to get x1 again.

See Also

fixunknowns, mapminmax, mapstd, processpca


 Provide feedback about this page 

Previous page randtop removerows Next page

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