I have 5 points but try to rotate the last few points not all
here is the code :
theta = 10;R = [cosd(theta) -sind(theta) 0 ; sind(theta) cosd(theta) 0; 0 0 1];initialPoints = [ 0 0 0; 15 0 0; 30 0 0; 45 0 0; 60 0 0];Rotation=initialPoints *R;
the above code work well and rotate all points abut i want to apply rotataion only for last two steps ,can somebody suggest me how can i do that ?
thanks in advance
Best Answer