Question: I am learning matlab and please help me with this question. Please add comments also. Write the Matlab function that receives:... a) receives a generic
a) receives a generic matrix as input parameter b) calculates the average, maximum and minimum values of each row c) returns three vectors: One containing the averages, one containing the maximum values and one containing the minimum values. Write the command to plot the graph of those three sets of values as the following curves: a) Averages: solid line, o' marker, black colour b) Maximum: dashed line, no marker. blue colour c) Minimum: dashed line, no marker. red colour In the command window, use a integer random number generator to generate a 10x10 matrix of values in the range (0, 100) to test and plot the values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
