Ben Desfosses
2007-11-14 16:40:52 UTC
I have many 3x3 matrices stored in the form: C(1:3,1:3,1:n)
where n is large.
I want to perform a cumulative multiplication of this set
of matrices.
If C was a vector C(1:n) I could just use: cumprod(C)
I tried cumprod(C, 3) and it gives me an element by element
cumulative product not matrix by matrix.
Can someone tell me how I might process or restructure this
set of data to get my desired result?
Thanks for any assistance.
where n is large.
I want to perform a cumulative multiplication of this set
of matrices.
If C was a vector C(1:n) I could just use: cumprod(C)
I tried cumprod(C, 3) and it gives me an element by element
cumulative product not matrix by matrix.
Can someone tell me how I might process or restructure this
set of data to get my desired result?
Thanks for any assistance.