Interpolating angle between -0.2 to 0.2 rad

1 visualizzazione (ultimi 30 giorni)
HN
HN il 14 Ago 2020
Commentato: KSSV il 14 Ago 2020
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

Risposta accettata

KSSV
KSSV il 14 Ago 2020
x0 = -0.2 ; x1 = 0.2 ;
dx = 1/1000 ;
x = x0:dx:x1 ;
  2 Commenti
HN
HN il 14 Ago 2020
Sorry, My question is now modified.
Thanks
KSSV
KSSV il 14 Ago 2020
x0 = -0.2 ; x1 = 0.2 ;
n = 1001 ;
x = linspace(x0,x1,n) ;

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by