Running sum

Syntax: y = RSUM(x)

The RSUM function only accepts a vector argument, and returns the running sum of the elements of that vector. The result is a vector.

Example

Suppose X = [1;2;3;4;5;6;7;8;9;10], then Y = RSUM(X) returns vector Y = [1;3;6;10;15;21;28;36;45;55].

  Running product
  Skewness