Skip to main content
10-Marble
January 10, 2021
Solved

Generating matrices

  • January 10, 2021
  • 2 replies
  • 3967 views

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.

Best answer by BY_9768522

Okay Sir thank you very much.

2 replies

25-Diamond I
January 12, 2021

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

 

BY_976852210-MarbleAuthorAnswer
10-Marble
January 13, 2021

Okay Sir thank you very much.

23-Emerald IV
January 13, 2021

Here's another method:

LucMeekes_0-1610549710347.png

Success!
Luc

 

10-Marble
January 14, 2021

Thanks a lot!