DSP Blockset
  Go to block:
    Search    Help Desk 
Cumulative Sum    See Also

Compute the cumulative sum of the elements in a vector.

Library

Vector Functions, in Math Functions

Description

The Cumulative Sum block finds the cumulative sum of all elements in the input vector. For a length-M input vector u (indexed from 1 to M), the output of the Cumulative Sum block is a length-M vector with elements

A matrix input, u, is treated as a vector, u(:).

Dialog Box

See Also

Difference
cumsum (MATLAB)


[ Previous | Help Desk | Next ]