Array and Matrix Functions

From Software Product Documentation
Revision as of 12:42, 1 June 2023 by HAS-MotionStudents (talk | contribs) (Created page with " ==Arrays== ===Vector=== '''Vector'''(a,b, etc) creates a vector of the number of components specified :! Create a metric signal with 2 components and one frame :[Metric_E...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Arrays

Vector

Vector(a,b, etc)

creates a vector of the number of components specified

! Create a metric signal with 2 components and one frame
[Metric_Explicit]
! /RESULT_METRIC_FOLDER=PROCESSED
/RESULT_METRIC_NAME=VEC2
/METRIC_VALUE=2+3
;
! Create a vector containing a constant, a two dimensional metric and a 3 dimensional model based signal.
Evaluate_Expression
/EXPRESSION=vector (1, METRIC::PROCESSED::VEC2, LINK_MODEL_BASED::ORIGINAL::RKNEE_ANGLE)
! /SIGNAL_TYPES=
! /SIGNAL_FOLDER=ORIGINAL
! /SIGNAL_NAMES=
! /RESULT_TYPES=DERIVED
! /RESULT_FOLDERS=PROCESSED
/RESULT_NAME=TEST
! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
;
The resulting signal will have the first three columns (one for the constant, one for the vector of 2 components) buffered to the number of frames of RKNEE_ANGLE by replicating the first frame.


list(a,b,etc) -- creates a list (column vector) or the number of rows specified:
unit_vector (a, b, etc) -- creates a unit vector of the number of components specified:
Retrieved from ""