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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!