Mncn: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Scott |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Mean center data matrices. | Mean center data matrices. | ||
===Synopsis=== | ===Synopsis=== | ||
:[mcx,mx] = mncn(x,''options'') | |||
:[mcx,mx,msg] = mncn(x,''options'') | |||
===Description=== | ===Description=== | ||
MNCN mean centers a matrix x and returns a matrix mcx with mean zero columns and a vector of means mx used to center the data. | |||
MNCN mean centers a matrix x and returns a matrix mcx with mean zero columns and a vector of means mx used to center the data. Optional input options is discussed below. | |||
The output <tt>msg</tt> returns any warning messages. | |||
===Options === | |||
''options'' = a structure array with the following fields. | |||
* '''display''': [ {'off'} | 'on'] Governs screen display. | |||
* '''matrix_threshold''': [.15] Error threshold based on fraction of missing data in whole matrix. | |||
* '''column_threshold''': [.25] Error threshold based on fraction of missing data in single column. | |||
===See Also=== | ===See Also=== | ||
[[auto]], [[rescale]], [[scale]] | |||
[[auto]], [[classcenter]], [[gscale]], [[gscaler]], [[medcn]], [[normaliz]], [[npreprocess]], [[polytransform]], [[regcon]], [[rescale]], [[scale]] |
Latest revision as of 09:11, 21 September 2011
Purpose
Mean center data matrices.
Synopsis
- [mcx,mx,msg] = mncn(x,options)
Description
MNCN mean centers a matrix x and returns a matrix mcx with mean zero columns and a vector of means mx used to center the data. Optional input options is discussed below.
The output msg returns any warning messages.
Options
options = a structure array with the following fields.
- display: [ {'off'} | 'on'] Governs screen display.
- matrix_threshold: [.15] Error threshold based on fraction of missing data in whole matrix.
- column_threshold: [.25] Error threshold based on fraction of missing data in single column.
See Also
auto, classcenter, gscale, gscaler, medcn, normaliz, npreprocess, polytransform, regcon, rescale, scale