Skip to main content
10-Marble
Solved

Generating matrices

Hello,

 

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.

10-Marble

Okay Sir thank you very much.

8 replies

Werner_E
25-Diamond I

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:

Werner_E_0-1610486110998.png

 

Translate
BY_976852210-MarbleAuthorAnswer
10-Marble

Okay Sir thank you very much.

Translate
23-Emerald V

Here's another method:

LucMeekes_0-1610549710347.png

Success!
Luc

 

Translate
10-Marble

Thanks a lot!

Translate