Spline/interp trajectory

1 visualización (últimos 30 días)
Federico Guetti
Federico Guetti el 29 de Mzo. de 2021
Respondida: Amrtanshu Raj el 19 de Abr. de 2021
Hi
I don't kwon if there is a function about my problem. I have to interpolate this motor trajectory that can you see in the picture.
i have two vectors about coordinates x,y and i can't use the spline function.
  1 comentario
Jan
Jan el 29 de Mzo. de 2021
Do not tell us, what you can't use, but what you can use. What have you tried so far? What are the inputs? A screenshot of a diagfram is less useful than some code.

Iniciar sesión para comentar.

Respuestas (1)

Amrtanshu Raj
Amrtanshu Raj el 19 de Abr. de 2021
Hi,
Assuming that you want to perform interpolation on the waypoints, you can use the interp1 function to achieve interpolation. It provides multiple options other than Spline which you can choose from as per your need.
Hope this helps !

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by