MATLAB: Interval value percent in matrix

matrix occurrence counting

Hi! I have a matrix of value (606×296). I would know the interval of value( min-max) that occur in matrix for 93.67% . Thank you

Best Answer

If you have the Statistics Toolbox:
P = 0.9367;
CV = norminv([(1-P)/2 1-(1-P)/2], 0, 1)
CV =
-1.8571 1.8571
So those values would be the multiples of the standard deviation of your matrix, corrected for a mean of zero. If ‘M’ is your matrix:
Interval = mean(M(:)) + std(M(:))*[-1.8571 1.8571]