Interpolating angle between -0.2 to 0.2 rad

4 ビュー (過去 30 日間)
HN
HN 2020 年 8 月 14 日
コメント済み: KSSV 2020 年 8 月 14 日
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

採用された回答

KSSV
KSSV 2020 年 8 月 14 日
x0 = -0.2 ; x1 = 0.2 ;
dx = 1/1000 ;
x = x0:dx:x1 ;
  2 件のコメント
HN
HN 2020 年 8 月 14 日
Sorry, My question is now modified.
Thanks
KSSV
KSSV 2020 年 8 月 14 日
x0 = -0.2 ; x1 = 0.2 ;
n = 1001 ;
x = linspace(x0,x1,n) ;

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by