I am a new user of Matlab.I have the following problem for which I need help.
I have 3x3 matrices D0, B1, B2, and B3. I want to compute 100 matrices using the four matrices above in a recursive manner.
The formula for obtaining D(j) is:
D(j) = a*(B1*D(j-1) + B2*D(j-2)+B3*D(j-3), j=4,5, ... 100; Matrices D0, B1, B2, and D3 have already been computed. I am tring to write a loop statement so that the D(i) matrices can be computed by the Matlab.
If anybody would hemp me with the code for this, I shallbe grateful.