Create a line using 10 points

조회 수: 2(최근 30일)
mikel lasa
mikel lasa 2021년 4월 7일
댓글: Abhishek Gupta 2021년 4월 14일
Hello,
After doing a linear fitting to a laser stripe, I got also the intersection points of those lines. Now, im stuck in creating a new virtual laser stripe that gathers all the 10 points.
This is the plot that I have right now.
How can I create a new line using these intersections?
Thanks in advance
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2021년 4월 7일
hello
if you have the x, y coordinates of those 10 points, why not make a linear fit ( polyfit with 1st order polynomial)

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

채택된 답변

Abhishek Gupta
Abhishek Gupta 2021년 4월 12일
Hi,
Referring to the following documentation, which might help you resolve the issue: -
  댓글 수: 2
Abhishek Gupta
Abhishek Gupta 2021년 4월 14일
You can accept the answer, if you find it useful.

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

추가 답변(0개)

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by