Using matlab Write a function file that will return the foll

Using matlab Write a function file that will return the following statistics on a quality: maximum value, minimum value, average value, standard deviation, range, median.

The format for the function all is:

statsn= stats_retrieval(quality, n)

where stats is a vector that contains the statistics and n is the column containing the quality.

Solution

Range :

y = range(X,dim)

Median:

M = median(A)

Using matlab Write a function file that will return the following statistics on a quality: maximum value, minimum value, average value, standard deviation, rang

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site