if i assign 4 position(x,y) can i make a point and line to connect it together like freehand drawing
조회 수: 2 (최근 30일)
이전 댓글 표시
if i assign 4 position(x,y) can i make a point and line to connect it together like freehand drawing ? and i can find the area of this ?
댓글 수: 0
채택된 답변
Walter Roberson
2012년 1월 26일
X = [x1 x2 x3 x4 x1];
Y = [y1 y2 y3 y4 y1];
plot(X,Y)
polyarea(X,Y)
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!