I want to gather points in triangle and stokes
Mostrar comentarios más antiguos
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 comentario
Roger Stafford
el 23 de Mzo. de 2014
Editada: Roger Stafford
el 23 de Mzo. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Animation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!