Write a MATLAB program that asks the user to enter a 2 by 3 array (assume that the user's input size is correct) Then wr
Posted: Sat May 14, 2022 3:37 pm
Write a MATLAB program that asks the user to enter a 2 by 3 array (assume that the user's input size is correct) Then write a function that finds the maximum number in each row in the 2D array and returns the values in another array. You are not allowed to use the built-in function max(): function Max = FindMax (A, row size, col size) If the following array was the input: A = [10 20 40; 30 80 90] The output is: Max = [40 90]