Manipulation des matrices
ghanouche2408
Messages postés
2
Date d'inscription
Statut
Membre
Dernière intervention
-
ghanouche2408 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
ghanouche2408 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
je veux construire M à partir des vecteurs a=[2 2;2 2] , b=[3 3 3 ;3 3 3], c=[4 4;4 4 ,4 4 ],d=[5 5 5 5 5]
M=[2 2 5 4 4; 2 2 5 4 4; 3 3 5 4 4; 3 3 5 2 2; 3 3 5 2 2]
M'=[5 5 5 5 5; 3 3 3 2 2; 3 3 3 2 2; 2 2 4 4 4; 2 2 4 4 4]
M"=[3 3 3 2 2; 3 3 3 2 2; 4 4 4 2 2; 4 4 4 2 2; 5 5 5 5 5]
je ne sais plus comment le faire :(
merci d'avance
M=[2 2 5 4 4; 2 2 5 4 4; 3 3 5 4 4; 3 3 5 2 2; 3 3 5 2 2]
M'=[5 5 5 5 5; 3 3 3 2 2; 3 3 3 2 2; 2 2 4 4 4; 2 2 4 4 4]
M"=[3 3 3 2 2; 3 3 3 2 2; 4 4 4 2 2; 4 4 4 2 2; 5 5 5 5 5]
je ne sais plus comment le faire :(
merci d'avance
1 réponse
? Pour la premiere matrice M=[2 2 5 4 4; 2 2 5 4 4; 3 3 5 4 4; 3 3 5 2 2; 3 3 5 2 2] :
M1=[a;b']
M2=[M1 d']
M3=[c;a]
M=[M2 M3] ou M=[[a;b'] d' [c;a]]
? Pour la 2eme matrice M=[5 5 5 5 5; 3 3 3 2 2; 3 3 3 2 2; 2 2 4 4 4; 2 2 4 4 4] :
M1=[b a]
M2=[d ;M1]
M3=[a c']
M=[M2 ;M3] ou M=[[d [b a]] a c']]
? Pour la 3eme matrice M=[3 3 3 2 2; 3 3 3 2 2; 4 4 4 2 2; 4 4 4 2 2; 5 5 5 5 5] :
M1=[b a]
M2=[c' a]
M3=[M1;M2]
M=[M3;d] ou M=[[b a]; [c' a] ;d]
M1=[a;b']
M2=[M1 d']
M3=[c;a]
M=[M2 M3] ou M=[[a;b'] d' [c;a]]
? Pour la 2eme matrice M=[5 5 5 5 5; 3 3 3 2 2; 3 3 3 2 2; 2 2 4 4 4; 2 2 4 4 4] :
M1=[b a]
M2=[d ;M1]
M3=[a c']
M=[M2 ;M3] ou M=[[d [b a]] a c']]
? Pour la 3eme matrice M=[3 3 3 2 2; 3 3 3 2 2; 4 4 4 2 2; 4 4 4 2 2; 5 5 5 5 5] :
M1=[b a]
M2=[c' a]
M3=[M1;M2]
M=[M3;d] ou M=[[b a]; [c' a] ;d]