Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 18:36:50 test_interp_1d_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test test_interp_1d(). test_interp_1d_test01(): Print the title of each function. There are 8 functions available: Index Title 1 f(x) = steps -1/2/1 at [0,1/3], [1/3,4/5], [4/5,1]. 2 f(x) = (1-3x), x < 1/3; (6x-2) if 1/3 < x 3 f(x) = x (10*x-1) (5x-2) (5x-2) (4x-3.4) (x-1) 4 f(x) = atan ( 40 * x - 15 ) 5 f(x) = cos(7*x)+5*cos(11.2*x)-2*cos(14*x)+5*cos(31.5*x)+7*cos(63*x). 6 f(x) = exp ( - ( 4*x-1 )^2 ) 7 f(x) = exp ( 2 x ) if x < 0.5, 0 otherwise 8 f(x) = 1 / ( 1 + ( 10 * (x-1/2) )^2 ) test_interp_1d_test02(): p00_f() samples each function. X and Y data for problem 1 0 -1.0000 0.1000 -1.0000 0.2000 -1.0000 0.3000 -1.0000 0.4000 2.0000 0.5000 2.0000 0.6000 2.0000 0.7000 2.0000 0.8000 1.0000 0.9000 1.0000 1.0000 1.0000 X and Y data for problem 2 0 1.0000 0.1000 0.7000 0.2000 0.4000 0.3000 0.1000 0.4000 0.4000 0.5000 1.0000 0.6000 1.6000 0.7000 2.2000 0.8000 2.8000 0.9000 3.4000 1.0000 4.0000 X and Y data for problem 3 0 0 0.1000 0 0.2000 0.4160 0.3000 0.2310 0.4000 0 0.5000 0.3500 0.6000 1.2000 0.7000 1.7010 0.8000 0.8960 0.9000 -0.9000 1.0000 0 X and Y data for problem 4 0 -1.5042 0.1000 -1.4801 0.2000 -1.4289 0.3000 -1.2490 0.4000 0.7854 0.5000 1.3734 0.6000 1.4601 0.7000 1.4940 0.8000 1.5120 0.9000 1.5232 1.0000 1.5308 X and Y data for problem 5 0 16.0000 0.1000 4.6025 0.2000 10.9479 0.3000 -2.4129 0.4000 8.3365 0.5000 3.4133 0.6000 17.0369 0.7000 4.0775 0.8000 7.8254 0.9000 -3.0293 1.0000 13.3791 X and Y data for problem 6 0 0.3679 0.1000 0.6977 0.2000 0.9608 0.3000 0.9608 0.4000 0.6977 0.5000 0.3679 0.6000 0.1409 0.7000 0.0392 0.8000 0.0079 0.9000 0.0012 1.0000 0.0001 X and Y data for problem 7 0 1.0000 0.1000 1.4918 0.2000 2.2255 0.3000 3.3201 0.4000 4.9530 0.5000 0 0.6000 0 0.7000 0 0.8000 0 0.9000 0 1.0000 0 X and Y data for problem 8 0 0.0385 0.1000 0.0588 0.2000 0.1000 0.3000 0.2000 0.4000 0.5000 0.5000 1.0000 0.6000 0.5000 0.7000 0.2000 0.8000 0.1000 0.9000 0.0588 1.0000 0.0385 test_interp_1d_test03(): p00_plot() plots each function. Plot saved as "p01_plot.png". Plot saved as "p02_plot.png". Plot saved as "p03_plot.png". Plot saved as "p04_plot.png". Plot saved as "p05_plot.png". Plot saved as "p06_plot.png". Plot saved as "p07_plot.png". Plot saved as "p08_plot.png". test_interp_1d_test(): Normal end of execution. 13-May-2025 18:36:58