function cubequantile

Does a quantile of all images in X.

result = cubequantile(X, quantile)

X:   A matrix or a FITS file name. If a FITS file name is given, the global variable tmpmem determines how many bytes of data are read in at a time.
quantile:   The quantile to be returned (0...1).

See also
function cubemedian