07-Jan-2022 21:46:04 hypersphere_angle_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 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.638825 Estimated std = 0.307193 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 0.781857 (radians) = 44.7971 (degrees) Estimated std = 0.453753 (radians) = 25.9982 (degrees) Using M = 3 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.500101 Estimated std = 0.28698 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.00034 (radians) = 57.3153 (degrees) Estimated std = 0.374323 (radians) = 21.4471 (degrees) Using M = 5 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.376177 Estimated std = 0.24342 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.16555 (radians) = 66.7808 (degrees) Estimated std = 0.285315 (radians) = 16.3473 (degrees) Using M = 10 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.258307 Estimated std = 0.18211 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.30316 (radians) = 74.6656 (degrees) Estimated std = 0.197269 (radians) = 11.3027 (degrees) Using M = 20 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.180992 Estimated std = 0.131826 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.38666 (radians) = 79.4501 (degrees) Estimated std = 0.13716 (radians) = 7.85871 (degrees) Using M = 40 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.126544 Estimated std = 0.0945656 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.44317 (radians) = 82.6875 (degrees) Estimated std = 0.0964895 (radians) = 5.52844 (degrees) Using M = 80 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.0907086 Estimated std = 0.0680745 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.47969 (radians) = 84.7802 (degrees) Estimated std = 0.0687846 (radians) = 3.94107 (degrees) Using M = 160 spatial dimension Using N = 10000 sample points, COST = absolute value of cosine between two random points: Estimated mean = 0.0634964 Estimated std = 0.0476571 THETA = arc cosine of absolute value of cosine between two random points: Estimated mean = 1.50717 (radians) = 86.3543 (degrees) Estimated std = 0.0478951 (radians) = 2.74419 (degrees) Graphics saved in "hypersphere_angle_test.png" hypersphere_angle_test(): Normal end of execution. 07-Jan-2022 21:46:11