Can any one help me to apply random rotation (from 1 degree to 360 degree) on the following points :
I tried the following option but failed to generate the rotation scenario.
theta =90;R=[cosd(theta) -sind(theta) 0 ; sind(theta) cosd(theta) 0; 0 0 1];P= [ 0 0 0; 15 0 0; 30 0 0; 45 0 0; 60 0 0];rotpoint =P*R;
Best Answer