Home > brede > brede_mat_cumsum.m

brede_mat_cumsum

PURPOSE ^

brede_mat_cumsum - Cumulated sum

SYNOPSIS ^

function C = brede_mat_cumsum(M, varargin)

DESCRIPTION ^

 brede_mat_cumsum     - Cumulated sum

       C = brede_mat_cumsum(M, 'PropertyName', 'PropertyValue')

       Input:    M       'Mat' structure

       Property: TimingType [ {end} | middle ] Determines where the
                         integration (cumulation) of the values in the
                         matrix should stop when the 'Times' are given.
                 Times   'Mat' structure with times: the first column
                         should be the starting times of the scan
                         while the second column should be the end
                         time. There should be as many rows as there
                         are rows in the M and Mref matrices.

       Output:   C       Cumulated values in 'mat' structure

       A function that does essentially the same as the cumsum function
       of matlab. 

       The cumulated sum is always performed down each individual
       column. 

       See also BREDE, BREDE_MAT, BREDE_MAT_LOGANPLOT

 $Id: brede_mat_cumsum.m,v 1.1 2007/11/05 16:15:50 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