Write a MATLAB function named as Q6_(F)unction 1that takes two
square matrices (i.e., matrices where the number of rows equals the
number of columns) as inputs and returns their element-wise product.
Inside the function, implement a check to ensure that both input
matrices are square and have the same dimensions. If the inputs do not
meet these requirements, the function should display an appropriate
warning message to the user.
In the main script, write code to test the following two cases:
aA and B.
bA=[[2,3,7]]
4
B=[[1,9,7]]
4
C=[[1,9,3,7,2]]
4