Spline/interp trajectory

조회 수: 2 (최근 30일)
Federico Guetti
Federico Guetti 2021년 3월 29일
답변: Amrtanshu Raj 2021년 4월 19일
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
Jan
Jan 2021년 3월 29일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Amrtanshu Raj
Amrtanshu Raj 2021년 4월 19일
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 !

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by