Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Indexing Matrices in Matlab
Replies: 2   Last Post: Jun 28, 1996 1:07 AM

 Messages: [ Previous | Next ]
 Ferdaus Hossain Posts: 1 Registered: 12/11/04
Indexing Matrices in Matlab
Posted: Jun 27, 1996 10:22 AM

Hi:

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.

Sincerely
Ferdaus Hooain

Date Subject Author
6/27/96 Ferdaus Hossain
6/27/96 Edwin Verheijen
6/28/96 Claude D. Bilbo