I need to generate matrices however it must be with using the minimal number of operations I mean I can not create them manually I am adding a picture about it.
Solved! Go to Solution.
Not sure what you actually are looking for.
Your matrices are structured very differently and therefore require different approaches each. Basically you can use range variables for row and column indices or you can use a small program with loops (and possibly branches) for this. Here are two examples: