Home > brede > brede_mat_sum.m

brede_mat_sum

PURPOSE ^

brede_mat_sum - Row and column sum of matrix

SYNOPSIS ^

function Mout = brede_mat_sum(Min, varargin)

DESCRIPTION ^

 brede_mat_sum        - Row and column sum of matrix

       Input:    Min   'Mat' structure

       Property: Type  [ {ColumnSum} | RowSum ]

       Output:   Mout  'Mat' structure

       The row or column sum of a matrix. Non-a-numbers (NaN) are
       ignored. 

       'Type'='ColumnSum' results in a row vector while
       'Type'='RowSum' results in a column vector. 

       Example: 
         brede_mat_sum(rand(5,10), 'type', 'columnsum')

       See also BREDE, BREDE_MAT, BREDE_MAT_CENTER, BREDE_MAT_MEAN,
                BREDE_MAT_SCALE.

 $Id: brede_mat_sum.m,v 1.4 2008/07/11 11:06:58 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005