26-Dec-2022 08:01:05 hypersphere_angle_test(): MATLAB/Octave version 4.2.2 Test hypersphere_angle(). Using M = 2 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.637804 Estimated std = 0.306746 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 0.783894 (radians) = 44.9138 (degrees) Estimated std = 0.452699 (radians) = 25.9377 (degrees) Using M = 3 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.502926 Estimated std = 0.288223 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 0.996306 (radians) = 57.0842 (degrees) Estimated std = 0.37642 (radians) = 21.5673 (degrees) Using M = 5 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.37396 Estimated std = 0.245794 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.16734 (radians) = 66.8839 (degrees) Estimated std = 0.289063 (radians) = 16.5621 (degrees) Using M = 10 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.258983 Estimated std = 0.183324 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.30239 (radians) = 74.6213 (degrees) Estimated std = 0.198548 (radians) = 11.376 (degrees) Using M = 20 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.179859 Estimated std = 0.130066 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.3879 (radians) = 79.5209 (degrees) Estimated std = 0.135189 (radians) = 7.74575 (degrees) Using M = 40 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.12751 Estimated std = 0.0961017 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.44216 (radians) = 82.6298 (degrees) Estimated std = 0.0980879 (radians) = 5.62002 (degrees) Using M = 80 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.0902323 Estimated std = 0.067714 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.48018 (radians) = 84.8079 (degrees) Estimated std = 0.0684077 (radians) = 3.91947 (degrees) Using M = 160 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.0627094 Estimated std = 0.0468001 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.50796 (radians) = 86.3997 (degrees) Estimated std = 0.0470316 (radians) = 2.69471 (degrees) Graphics saved in "hypersphere_angle_test.png" hypersphere_angle_test(): Normal end of execution. 26-Dec-2022 08:02:06