Computes the cumulative products of vectors, matrices, and arrays of any dimension.
c = accumproducts(a)
c = accumproducts(a, b)Legacy name: cumprod
Vector, matrix, or array of any dimension.
Dimension. b is an integer.
Cumulative products of a. c is the same size as a. c returns the cumulative products of elements along dimension b. If you omit b, MathScript uses the first non-singleton dimension.
A = [1:1:15] C = accumproducts(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices