24-Dec-2018 16:17:30 CVT_1D_SAMPLING MATLAB version Test CVT_1D_SAMPLING. CVT_1D_SAMPLING MATLAB version Use sampling to implement an approximation of Lloyd's algorithm in the 1D unit interval [0,1]. Number of generators is 40 Number of iterations is 400 Number of samples is 1000 Initial generators: 1 0.010000 2 0.010256 3 0.010513 4 0.010769 5 0.011026 6 0.011282 7 0.011538 8 0.011795 9 0.012051 10 0.012308 11 0.012564 12 0.012821 13 0.013077 14 0.013333 15 0.013590 16 0.013846 17 0.014103 18 0.014359 19 0.014615 20 0.014872 21 0.015128 22 0.015385 23 0.015641 24 0.015897 25 0.016154 26 0.016410 27 0.016667 28 0.016923 29 0.017179 30 0.017436 31 0.017692 32 0.017949 33 0.018205 34 0.018462 35 0.018718 36 0.018974 37 0.019231 38 0.019487 39 0.019744 40 0.020000 Current generators: 1 0.001756 2 0.006504 3 0.008350 4 0.011308 5 0.014904 6 0.020320 7 0.024064 8 0.029092 9 0.034838 10 0.043712 11 0.048902 12 0.055238 13 0.063526 14 0.072852 15 0.084691 16 0.096516 17 0.109886 18 0.127571 19 0.141946 20 0.161350 21 0.180512 22 0.209797 23 0.234211 24 0.256468 25 0.285653 26 0.319236 27 0.352409 28 0.385257 29 0.425136 30 0.466434 31 0.509106 32 0.556300 33 0.605645 34 0.655142 35 0.704340 36 0.756722 37 0.811737 38 0.861345 39 0.917540 40 0.973285 Graphics saved as "energy.png" Graphics saved as "motion.png" Graphics saved as "evolution.png" CVT_1D_SAMPLING Normal end of execution. CVT_1D_SAMPLING Normal end of execution. 24-Dec-2018 16:17:57