Using matrices in for loop

Hello,

I have been trying to find a way to use a 'For' loop so that instead of a number being put in for each loop, a matrix is put in.
I have a list of 8 matrices that I want to perform the operations on.
However when I try to do this, Matlab just goes through the components in the matrix and substitutes them in one at a time. It doesn't just substitute in the whole matrix, which is what I would like.

Any help will be much appreciated.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories