Hi. I am trying to create a loop to multiply two matricies 40 times such that B*C=D1 and C*D1=D2 and B*D2=D3 and so on . I am very much new to matlab. Can anyone help me on this ?
Show older comments
I am trying to create a loop to multiply two matricies 40 times such that B*C=D1 and C*D1=D2 and B*D2=D3 and so on . I am very much new to matlab. Can anyone help me on this ?
3 Comments
Image Analyst
on 31 Oct 2014
What's the pattern? I know the product matrix is the right matrix the next time, but what about the left matrix? Does it alternate B, C, B, C, B, C, etc.?
the cyclist
on 1 Nov 2014
Also, do you need to keep all the intermediate products, or just the final result?
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!