[Master Index] [Index for export/brede]

brede_mat_scale

(export/brede/brede_mat_scale.m)


Function Synopsis

Mout = brede_mat_scale(Min, varargin)

Help text

 brede_mat_scale      - Scale a matrix

       function Mout = brede_mat_scale(Min)

       Input:    Min   'Mat' structure
 
       Property: Type  [ ColumnSum | ColumnSSR | ColumnZScore |
                       {Correspondence} | idf | RowMean | RowSum |
                       RowSSR | RowZScore | sqrt ] Type of
                       normalization/scaling  

       Output:   Mout  'Mat' structure

       This function will scale a matrix.

       'Correspondence' will scale both the rows and the columns
       according to the square root of the column row and column
       sum. 

       'Idf' is inverse document frequency scaling with 'term' in the
       columns and 'documents' in the rows.

       'RowSSR' is 'row square sum (square) root' where the elements
       are squared and then summed along each row. Finally the
       square root is taken of the sum. The value is used as the
       normalization factor that is divided on each element in the
       row. 

       NaN elements are ignored for 'ColumnSSR', 'RowMean', 'RowSSR'
       and 'RowSum'. 
         
       'Sqrt' is elementwise square root.

       See also BREDE, BREDE_MAT, BREDE_MAT_ADD, BREDE_MAT_PRODUCT.

 $Id: brede_mat_scale.m,v 1.13 2008/05/15 16:12:42 fn Exp $

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF