Question: Matlab - Write a function with the header: Problem 1: (5 Points) function C = myMatOperation1(A, B) which takes two matrices, A and B with
Matlab - Write a function with the header: Problem 1: (5 Points) function C = myMatOperation1(A, B) which takes two matrices, A and B with no compatibility restrictions. The function will return a matrix C with the following characteristics: - C will have the same number of rows of A and the same number of columns as B - For some row i, and some column j, C(i,j) will either be o The mean of row iofAor o The mean of colj ofB Whichever has a larger absolute value. - DO NOT use the colon operator in your solution - The only built-in functions you can use are size, zeros, and abs.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
