This preview shows page 1. Sign up to view the full content.
Unformatted text preview: plot([x(i,1),x(i,2)],[y(i,1),y(i,2)],g:) plot([x(i,3),x(i,4)],[y(i,3),y(i,4)],g:) plot(x(i,2),y(i,2),gs,x(i,3),y(i,3),gs) % some code needed here xp=x(i,1)+bx * t+cx * t. * t+dx * t.3; yp=y(i,1)+by * t+cy * t. * t+dy * t.3; plot(xp,yp,k) end axis square hold off Plot two versions, one with all endpoints and control points plotted as above, and another with just the curves. Include all Matlab code used in the plots. Extra Credit: Up to 2 extra points may be awarded for each additional letter. Do not attempt extra credit until your rst letter is perfect. Due: Tues., Apr. 27...
View Full Document
This note was uploaded on 10/27/2010 for the course MATH 446 taught by Professor Staff during the Spring '08 term at George Mason.
- Spring '08