Question: Complete the function that takes as parameter 2 matrices and that returns the product of Hadamard. The matrices are represented as tuples in tuples. You

Complete the function that takes as parameter 2 matrices and that returns the product of Hadamard.
The matrices are represented as tuples in tuples. You can assume that both matrices have the same dimension.
An example of the representation of the matrices as well as an example of the product of Hadamard are shown in the photo above.
**Please write the answer in python language! **
Complter la fonction qui prend en paramtre 2 matrices et qui retourne le produit de Hadamard. Les matrices sont reprsentes par des tuples de tuples. Vous pouvez assumer que les 2 matrices ont la mme dimension. [. 1 = ((1,0),(0,1)) Reprsentation des matrices Exemple produit de Hadamard (3 51 b ) = 6:0 5:) = { 18) >>> matrice1 = ((3, 5), (4, 9)) >>> matrice2 = ((1, 6), (0, 2)) >>> produitDeHadamard(matrice1, matrice2) ((3, 30), (0, 18)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
