The function UDistriQuantile returns the value of the quantile of the U-distribution for a given probability prob, and the specified number of degrees of freedom M and N of the two data sets.