I want to gather points in triangle and stokes
Ältere Kommentare anzeigen
hello
*I have an array of 80 points
*want to gather points in triangle and the result stored in an array:
- %angle
*A1 = atan2 (abs ((x2-x1) * (y3-y1) - (x3-x1) * (y2-y1)), ... (x2-x1) * (x3-x1) + (y2-y1) * (y3-y1));
*A2= atan2 (abs ((x1-x2) * (y3-y2) - (x3-x2) * (y1-y2)), ... (x1-x2) * (x3-x2) + (y1-y2) * (y3-y2));
*A3=...
- %Distance:
- d1 = norme (P2-P1);
- d2 = norme (P3-P1);
- d3 = norme (P3-P2);
*%
*I think 3 loop For
1 Kommentar
Roger Stafford
am 23 Mär. 2014
Bearbeitet: Roger Stafford
am 23 Mär. 2014
I understand that you have correctly computed the inner angles and side lengths of a triangle from the coordinates of its three vertices. However, that is where my understanding ends. I am unable to extract a meaningful question from the wording "I want to gather points in triangle and stokes." Could you please elaborate on that? My crystal ball is rather cloudy this morning.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Animation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!