Method ao/removeVal


  REMOVEVAL removes values from the input AO(s).
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: REMOVEVAL removes user specified value(s) from the input AO(s),
               such as NaNs, Infs, or 0s. Depending on the values set in the plist,
               it will replace them with nothing or with an interpolated value
 
  CALL:        b = removeVal(a, pl)
 
  INPUTS:      a  - input array of AOs
               pl - parameter list with the keys 'axis' and 'method'
 
  OUTPUTS:     b  - output array of AOs
 
  REMARKs:
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
VALUE [] none The value(s) to remove. Multiple values can be input in a vector.
Accepted values are:
  • NaN
  • Inf
  • Numbers
AXIS 'y'
  • 'x'
  • 'y'
The axis to check on.
METHOD 'remove'
  • 'remove'
  • 'interp'
The operation to perform on the values curresponding to NaN.
INTERPOLATION 'spline'
  • 'nearest'
  • 'linear'
  • 'spline'
  • 'pchip'
  • 'v5cubic'
Specify the interpolation method. Choose between:
  • nearest - nearest neighbor interpolation
  • linear - linear interpolation
  • spline - piecewise cubic spline interpolation (SPLINE)
  • pchip - shape-preserving piecewise cubic interpolation
  • v5cubic - the cubic interpolation from MATLAB 5, which does not extrapolate and uses 'spline' if X is not equally spaced.
back to top back to top

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




©LTP Team