Create a line using 10 points

3 visualizzazioni (ultimi 30 giorni)
mikel lasa
mikel lasa il 7 Apr 2021
Commentato: Abhishek Gupta il 14 Apr 2021
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 Commento
Mathieu NOE
Mathieu NOE il 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)

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Curve Fitting Toolbox in Help Center e File Exchange

Tag

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by