Scilab Function

rotate - rotation of a set of points

Calling Sequence

xy1=rotate(xy,[theta,orig])

Parameters

Description

rotate performs a rotation with angle theta:

xy1(:,i) = M(theta) *xy (:,i) + orig

where M stands for the corresponding rotation matrix.

Examples