|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Débutant
Inscription : mars 2007 Messages : 258 ![]() |
Salut, je m'embrouille énormément entre les fonctions produitmat et transpose.
Quelle est d'après vous la meilleure solution pour faire ceci : J'ai une matrice 1 : Semaine 1 Semaine 2 Semaine 3 Semaine 4 Semaine 5 Produit 1 0 10 0 20 0 Produit 2 10 0 0 0 0 Produit 3 0 0 0 0 0 Produit 4 0 0 10 0 0 Produit 5 0 0 0 0 10 Produit 6 0 0 10 0 0 Produit 7 0 0 0 0 10 Produit 8 0 0 10 0 0 J'ai une matrice 2 : Composant 1 Composant 2 Composant 3 Composant 4 Composant 5 Produit 1 0 0 0 0,5 0,5 Produit 2 0 1 0 0 0 Produit 3 0 0 1 0 0 Produit 4 0,7 0 0 0 0,3 Produit 5 0 0 0 1 0 Produit 6 0 0 0 0,4 0,6 Produit 7 0,2 0,8 0 0 Produit 8 0 0 1 0 0 Et ce que je veux obtenir, c'est cette matrice 3 : Semaine 1 Semaine 2 Semaine 3 Semaine 4 Semaine 5 Composant 1 0 0 7 0 2 Composant 2 10 0 0 0 8 Composant 3 0 0 10 0 0 Composant 4 0 5 4 10 10 Composant 5 0 5 9 10 0 Je rame un peu, merci pour votre aide. |
|
|
00
|
|
|
#2 |
|
Membre régulier
![]() Chargé d'études Inscription : décembre 2007 Messages : 98 ![]() |
Bonjour supertoms,
Pourrais tu expliquer ta démarche ? A part la structure de ta matrice, je ne comprends pas le calcul qui a été fait. Le résultat du croisement composant 1 * semaine 1 correspond à quoi ? |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com