Create a line using 10 points

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

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

Hi,
That was very helpful, thank you!
You can accept the answer, if you find it useful.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2020b

Tags

Community Treasure Hunt

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

Start Hunting!