iqr
Interquartile range of data set
Description
returns the
interquartile range values of elements in input data r
= iqr(A
)A
.
If
A
is a vector, thenr
is the difference between the 75th and the 25th percentiles of the data contained inA
.If
A
is a matrix, thenr
is a row vector containing the difference between the 75th and the 25th percentiles of the sample data in each column ofA
.If
A
is a multidimensional array, thenr
contains the interquartile range values computed along the first array dimension whose size does not equal 1. The size ofr
along this dimension is 1, while the sizes of all other dimensions remain the same as the input data.