Home > Objects > @iData > rotate.m

iFit/rotate

PURPOSE ^

s = rotate(a, theta) : computes the rotation of iData objects around the origin

SYNOPSIS ^

function s = rotate(a, theta)

DESCRIPTION ^

 s = rotate(a, theta) : computes the rotation of iData objects around the origin

    @iData/rotate function to compute the rotation of iData object around the origin
     
      rotate(a) rotates around the Signal axis ('vertical') with 180 angular steps
      rotate(a, n) rotates using n angular steps in full revolution
      rotate(a, theta) rotates only on the specified theta values/range

      The resulting object dimensionality is increased by 1.

 input:  a:     object or array (iData/array of)
         theta: single integer to specify how many steps in the revolution, or
                an angular range (vector in radians)
 output: s: rotated object (iData)
 ex:     c=rotate(a);

 Version: Aug. 22, 2017
 See also iData, iData/camproj

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1