Interpolating angle between -0.2 to 0.2 rad

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

 采纳的回答

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

2 个评论

Sorry, My question is now modified.
Thanks
x0 = -0.2 ; x1 = 0.2 ;
n = 1001 ;
x = linspace(x0,x1,n) ;

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by