making points, rotating it, plotting.
조회 수: 1 (최근 30일)
이전 댓글 표시
p1=[0;0] p2=[sqrt(3/4);-1/2] p3=[sqrt(3/4);1/2] p4=[0;1]
make a vector r from point p1 to p2:
r=p2-p1
construct a new vector s by rotating r 90 degree counterclockwise.
Make a new point: t2=p1+1/2*r+-1/6*sqrt(3/4)*s
repeat this between every point(p2 and p3, p3 and p4, and p4 and p1). connect these points as P1 with the 4 new points, plot it, and rotate it 120 degre two times. You should then have your final figure.
---------
I try to follow the assignment pretty strictly, but for some reason i dont get the same figure as my book has.
Anyone who can help me solving it?
댓글 수: 3
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!