Question: Please solve d) and e) using a non matlab built-in method 1) 1D DOMAIN INTERPOLATION Using the following data 6 8 x y 0 5

Please solve d) and e) using a non matlab built-in method
1) 1D DOMAIN INTERPOLATION Using the following data 6 8 x y 0 5 2 10 4 21 6 15 8 18 10 18 12 30 14 35 16 42 Interpolate using the following methods on a finder x vector, x [0,16], Ax = 0.1 a) Matlab's built-in "nearest" method. Save the resulting vector on HW5_1.dat b) Matlab's built-in "linear" method. Save the resulting vector on HW5_2.dat c) Matlab's built-in "spline" method. Save the resulting vector on HW5_3.dat d) A "nearest" method written by you. Save on HW5_4.dat e) A linear" method written by you. Save on HW5_5.dat 1) 1D DOMAIN INTERPOLATION Using the following data 6 8 x y 0 5 2 10 4 21 6 15 8 18 10 18 12 30 14 35 16 42 Interpolate using the following methods on a finder x vector, x [0,16], Ax = 0.1 a) Matlab's built-in "nearest" method. Save the resulting vector on HW5_1.dat b) Matlab's built-in "linear" method. Save the resulting vector on HW5_2.dat c) Matlab's built-in "spline" method. Save the resulting vector on HW5_3.dat d) A "nearest" method written by you. Save on HW5_4.dat e) A linear" method written by you. Save on HW5_5.dat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
