csum 217
csumSyntax
[outpdm] = csum(inpdm, {channels})
Parameter Li st
Inputs: inpdm real or complex valued pdm or constant matrix
Keywords: channels Sum over channels. outpdm has the same dimensions as
inpdm.
Outputs: outpdm output pdm
Description
Perform a cumulativesum over the rows of a matrix or a pdm. If channels is speciļ¬ed
then the sum is performed over the domain of the pdm.
Examples
A = [ones(6,1),random(6,1)]?
A (a rectangular matrix) =
1 0.608453
1 0.854421
1 0.0642647
1 0.827908
1 0.926234
1 0.566721
csum(A)