Question: Please write this in MATLAB AND PLEASE ANSWER ALL THE PARTS! 1) 1D DOMAIN INTERPOLATION Using the following data x 6 8 10 o 5
Please write this in MATLAB AND PLEASE ANSWER ALL THE PARTS!

1) 1D DOMAIN INTERPOLATION Using the following data x 6 8 10 o 5 2 10 4 21 12 30 14 35 16 42 y 2. 15 18 18 3 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 ector 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
