Hello,
Could anyone enlighten me as to how to produce the for loops required to perform the following:
2 x 3
2 x 4
2 x 5
3 x 4
3 x 5
4 x 5
The numbers actually refer to the rows of a matrix.
I need a loop which starts with the second row, and multiplies it sequentially with every row beneath it, then moves on to the row below and does the same.
Could anyone explain how this would be done for a matrix with 5 rows as above? I'm sure I could generalise it to n rows, but I have been struggling with this for some time now.
Kind regards,
Tom