The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ferdaus Hossain

Posts: 1
Registered: 12/11/04
Indexing Matrices in Matlab
Posted: Jun 27, 1996 10:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


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.

Thank you in advance.

Ferdaus Hooain

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.