Method ao/compute


  COMPUTE performs the given operations on the input AOs.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: COMPUTE performs the given operations on the input AOs.
 
  This is a transparent wrapper for the user selected operations and as such
  doesn't add history.
 
  CALL:        b = compute(a)
               b = compute(a, pl)
               b = compute(a, 'a(1) + a(2)./a(3)')
               b = compute(a, {'a(1) + a(2)./a(3)', 'log10(a(1))'})
 
  PARAMETERS:  'Operations' - a string array describing the operations to
                              be performed. The input AOs are collected
                              together into a vector called 'a' and as
                              such should be so represented in your
                              operation description.
 
  If no operation is input, then the output is just a copy of the inputs.
 
  Parameters Description
  
  EXAMPLES: 1) Add the two AOs, x and y, together
               >> b = compute(x,y, plist('Operations', 'a(1) + a(2)'))
            or
               >> b = compute(x,y, 'a(1) + a(2)')
 
            2) Perform two operations such that the output, b, contains two AOs
               >> b = compute([x y], z, plist('Operations', {'2.*a(3)./a(1)', 'a(2)-a(1)'}))
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
OPERATIONS 'a' none A string describing the operations on the vector 'a' of AOs
back to top back to top

Some information of the method ao/compute are listed below:
Class name ao
Method name compute
Category Signal Processing
Package name ltpda
VCS Version 175910878ca914560542d679d9d392de37438d84
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team