Skip to content

percentile_exc

K-th percentile (exclusive of 0% and 100%).

v = percentile_exc(array, k)

Like percentile_inc but k must be strictly between 1/(n+1) and n/(n+1). Used for percentile estimates that exclude the extreme endpoints.

percentile_exc([1 2 3 4 5 6 7 8 9 10], 0.5) % 5.5