Question: Matrix analysis

Hey Mapleprimes,

 I have a set of 3x4 Matrices and i need to filter some out, but cant find the right maple commands. Example Matrix:

[2 4 0]    row 1

[0 2 2]    row 2

[0 2 2]    row 3

[4 4 4]

 

row 2 = row 3

 

1. If all elements of a matrix have a common divider, such as 2 in the example matrix, I need to store the simplified matrix, meaning the one with all values divided by the common divider.

2. I need to check the set for those matrices, which contain the same first 3 rows, but in a different order and only leave one in the set. (no matter which one)

3. I need to filter the set for those matrices, where all first 3 rows are identical and store them into a separate set.

4. I need to filter the set for those matrices, which have 2 rows similar and store those in yet another set.

5. I need to substract another set from the set that is left after 3 and 4.

 

 

Thank you in advance for the help.

Please Wait...