So the questions ask to use the code I had generated before which is:
function testz=zeros(1,101);w=zeros(1,101);m=1;for t=0:3.6:360w(m) = ((1 + cosd(5*t))*cosd(t));z(m) = ((1 + cosd(5*t))*sind(t));m=m+1;endplot(w,z,'b--')axis(5*[-1 1 -1 1])end
and to rotate the flower image 50 degrees using the rotation matrix. How would I go about doing this?
Best Answer