rectangle_distance_test, a MATLAB code which calls rectangle_distance(), which estimates the distribution and expected value of the distance between two points picked uniformly at random within a rectangle.
The computer code and data files made available on this web page are distributed under the MIT license
rectangle_distance, a MATLAB code which estimates the distribution and expected value of the distance between two points picked uniformly at random within a rectangle.