Question: 1. (25 pts.) Write the following MATLAB functions: ). BmatrixTranspose(A): a transpose function with input of an arbitrary matrix and output its transpose (Do NOT


1. (25 pts.) Write the following MATLAB functions: ). BmatrixTranspose(A): a transpose function with input of an arbitrary matrix and output its transpose (Do NOT use the built-in function in MATLAB, but do the transpose by element operation); Test your function with two test cases, where A- 9 4 3-6 2 -1 6 5 and A = [9, 4, 3,-62,-1,6, 5] b). CtrixMultiply(A, B): a function that returns the product of inputs matrix A and B (Do NOT use MATLAB's matrix multiplication, but perform an element by element multiplication). Remember to check the validity of the operation in the function by checking the dimensions of matrix A and B. Test your function by comparing results from your function with that from MATLAB's built-in matrix multiplication using two test cases where 3-6. B = matrixranspose(A): 2 -1 6 5 A = 19,4,3,-6,2,-1,6,5, B = matrix Transpose(A)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
