Given two matrices, A = [1 2; 3 4] and B = [5 6; 7 8], which of the following MATLAB commands will produce a matrix C where each element is the product of the corresponding elements in A and B (i.e., C(1,1) = A(1,1)*B(1,1), C(1,2) = A(1,2)*B(1,2), etc.)?
-
A
C = A * B
-
B
C = A x B
-
C
C = A .* B
-
D
C = matrix_multiply(A, B)