I want to gather points in triangle and stokes
이전 댓글 표시
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
Roger Stafford
2014년 3월 23일
편집: Roger Stafford
2014년 3월 23일
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!