0
$\begingroup$

This question already has an answer here:

I have a list of matrix equations

M1={{a1,b1},{c1,d1}};
A1={{x1,y1},{z1,w1}};
M2={{a2,b2},{c2,d2}};
A2={{x2,y2},{z2,w2}};
sys={M1==A1,M2==A2};

which I would like to rewrite as

{a1==x1,b1==y1,c1==z1,d1==w1,a2==x2,b2==y2,c2==z2,d2==w2}.

How can this be done?

$\endgroup$

marked as duplicate by Kuba, Oleksandr R., PlatoManiac, MarcoB, Dr. belisarius Jan 29 '16 at 16:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Take a look at MapThread. $\endgroup$ – Kuba Jan 29 '16 at 14:27
  • $\begingroup$ In your case Thread[Equal[##]] & @@ Flatten /@ {M, A} $\endgroup$ – PlatoManiac Jan 29 '16 at 14:31
  • $\begingroup$ Equal @@@ Flatten[{M, A}, {{2, 3}, {1}}] $\endgroup$ – Oleksandr R. Jan 29 '16 at 14:33

Browse other questions tagged or ask your own question.