Question: 3 values that represent the maximum, minimum, and avera function should return a list of three scalar values, maximum, minimum and average values in matrix

 3 values that represent the maximum, minimum, and avera function should

3 values that represent the maximum, minimum, and avera function should return a list of three scalar values, maximum, minimum and average values in matrix M. named myfun.m that takes a 2D matrix M of values and returns ge values in Matrix M. The mx, mn, av 1, that are the The function named myfun should be able to handle a matrix M with one or more rows and columns of values in M. The code in the function definition should use nested while loops and if elseif else statements to calculate the maximum averages values in matrix M. Your code should not use the built in functions named max, min, sum, or mean. NOTE this problem does not need to Anclude a help comment nimum, and Then write a script file named mytest.m that displays he maximum, minimum and average values in the matrix M as shown below by using the function named myfun. 2x3 The test matrix M should contain the following values 0 3 12 -315 9 ^

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!