Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 15:27:33 line_grid_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test line_grid(). line_grid_test01() line_grid() can create a line grid. Use simple parameters. Number of grid points N = 11 N C A B 11 1 -1.0000 1.0000 Grid points: Columns 1 through 7 -1.0000 -0.8000 -0.6000 -0.4000 -0.2000 0 0.2000 Columns 8 through 11 0.4000 0.6000 0.8000 1.0000 line_grid_test02(): line_grid() creates a line grid. Try an increasing number of points. N C A B 9 2 0.0000 1.0000 Grid points: Columns 1 through 7 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000 0.7000 Columns 8 through 9 0.8000 0.9000 N C A B 19 2 0.0000 1.0000 Grid points: Columns 1 through 7 0.0500 0.1000 0.1500 0.2000 0.2500 0.3000 0.3500 Columns 8 through 14 0.4000 0.4500 0.5000 0.5500 0.6000 0.6500 0.7000 Columns 15 through 19 0.7500 0.8000 0.8500 0.9000 0.9500 N C A B 39 2 0.0000 1.0000 Grid points: Columns 1 through 7 0.0250 0.0500 0.0750 0.1000 0.1250 0.1500 0.1750 Columns 8 through 14 0.2000 0.2250 0.2500 0.2750 0.3000 0.3250 0.3500 Columns 15 through 21 0.3750 0.4000 0.4250 0.4500 0.4750 0.5000 0.5250 Columns 22 through 28 0.5500 0.5750 0.6000 0.6250 0.6500 0.6750 0.7000 Columns 29 through 35 0.7250 0.7500 0.7750 0.8000 0.8250 0.8500 0.8750 Columns 36 through 39 0.9000 0.9250 0.9500 0.9750 line_grid_test03(): line_grid() allows different centering options. Number of grid points N = 11 N C A B 11 1 0.0000 100.0000 Grid points: 0 10 20 30 40 50 60 70 80 90 100 N C A B 11 2 0.0000 100.0000 Grid points: Columns 1 through 7 8.3333 16.6667 25.0000 33.3333 41.6667 50.0000 58.3333 Columns 8 through 11 66.6667 75.0000 83.3333 91.6667 N C A B 11 3 0.0000 100.0000 Grid points: Columns 1 through 7 0 9.0909 18.1818 27.2727 36.3636 45.4545 54.5455 Columns 8 through 11 63.6364 72.7273 81.8182 90.9091 N C A B 11 4 0.0000 100.0000 Grid points: Columns 1 through 7 9.0909 18.1818 27.2727 36.3636 45.4545 54.5455 63.6364 Columns 8 through 11 72.7273 81.8182 90.9091 100.0000 N C A B 11 5 0.0000 100.0000 Grid points: Columns 1 through 7 4.5455 13.6364 22.7273 31.8182 40.9091 50.0000 59.0909 Columns 8 through 11 68.1818 77.2727 86.3636 95.4545 line_grid_test(): Normal end of execution. 13-May-2025 15:27:33