Create a line using 10 points

2 views (last 30 days)
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 Comment
Mathieu NOE
Mathieu NOE on 7 Apr 2021
hello
if you have the x, y coordinates of those 10 points, why not make a linear fit ( polyfit with 1st order polynomial)

Sign in to comment.

Accepted Answer

Abhishek Gupta
Abhishek Gupta on 12 Apr 2021
Hi,
Referring to the following documentation, which might help you resolve the issue: -
  2 Comments
mikel lasa
mikel lasa on 14 Apr 2021
Hi,
That was very helpful, thank you!
Abhishek Gupta
Abhishek Gupta on 14 Apr 2021
You can accept the answer, if you find it useful.

Sign in to comment.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!