Method matrix/rotate


  ROTATE applies rotation factor to matrix objects
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: ROTATE applies rotation factor to matrix objects
 
  CALL:        B = rotate(A, pl)
               B1 = rotate(A1, pl)
               Bs = rotate(As, ang)
 
  INPUTS:      Ai    - matrix object(s) with AOs, size: [2 1] or [1 2]
               pl   - parameter list
               ang  - rotation angle as cdata AO or double
 
  Please notice that a positive rotation angle means rotating counterclockwise
  if we use the standard right-handed coordinate system, where x axis goes to 
  the right and where y axis goes up.
 
  OUTPUTS:     Bi  - matrix object(s) with AOs, size: [2 1] or [1 2] with rotated data
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class matrix
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
rotate
ANG 0 none The angle to rotate by. It can be a double or an AO.

Example

plist('ANG', [0])

back to top back to top

Some information of the method matrix/rotate are listed below:
Class name matrix
Method name rotate
Category Operator
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team