making points, rotating it, plotting.
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!