MATLAB: Interpolating angle between -0.2 to 0.2 rad

angleinterpolation

Can anyone help for a valid interpolation of an angle from -0.2 to 0.2 to give 1001 points in between? SLERP is not doing this range for me ?
Thank you

Best Answer

x0 = -0.2 ; x1 = 0.2 ;
dx = 1/1000 ;
x = x0:dx:x1 ;