Question: how to do iqr in matlab?
Answer: r = iqr( x ) returns the interquartile range of the values in x . If x is a vector, then r is the difference between the 75th and the 25th percentiles of the data contained in x .