how do i get the axact coordinates of a diagional line?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Lorenzo Chatterpal
il 21 Ott 2014
Commentato: Image Analyst
il 21 Ott 2014
Using the corner function.... On a straight line, and I am extracting the corners and obtaining the coordinates perfectly... However for a triangle for instance I only need 3 sets of coordinates, but because it is a diagonal line I am getting above 30 sets of coordinates because of its edges, how do I obtain the exact set of coordinates, and I want?
0 Commenti
Risposta accettata
Image Analyst
il 21 Ott 2014
I suppose the endpoints of the edge lines would be the first element and the last element. So theLine(1) and theLine(end).
2 Commenti
Image Analyst
il 21 Ott 2014
I have no idea what kind of data you have, other than it's three 30-element long arrays that define the three edges of a triangle. But that's not really enough for me to go on. I don't even know what a "2md" line is. How is that related to the three other lines you have? I have no idea. Read this http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!