Question: How to use for loops to build a matrix?

Hi everyone!

I am trying to build a matrix using for loops.  I have been unable to construct a matrix using one "double" for loop using variables i and j.

Instead, I have 5 "single" for loops.  Could someone show me how to do this using a "double" loop over i and j (rows and colums)?

Thanks so much!

How_to_do_this_using_one_double_loop.mw

Please Wait...