The position reference profile is given by seven time-position data pairs: θ(0) = 0 rad, θ (0.05) = 0.002 rad, θ(0.1) = 0.006 rad, θ (0.15) = 0.011 rad, θ(0.2) = 0.014 rad, θ(0.25) = 0.016 rad, and θ (0.3) = 0.017 rad. By using linear interpolation, calculate the reference trajectory with the time resolution of 1 ms. Use the Matlab command interp1(). Analyze the first and second derivative of the generated trajectory.