Method matrix/removeVal


  REMOVEVAL removes values from each AO in the ltpda_container.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: REMOVEVAL removes values from each AO in the ltpda_container.
 
  CALL:        out = removeVal(in, pl);
 
  Note: this is just a wrapper of ao/removeVal. Each AO in the ltpda_container is passed
  to removeVal with the input plist. 
  
  INPUTS:      in      -  input ltpda_container objects 
               pl      -  parameter list
 
  OUTPUTS:     out     -  output ltpda_container objects 
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_container
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
removeVal
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'
  • 'auto'
  • 'nearest'
  • 'linear'
  • 'spline'
  • 'pchip'
  • 'v5cubic'
Specify the interpolation method. Choose between:
  • auto - use a method according to the data type. Spline for double/single, nearest for all other types.
    • 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.

Example

plist('VALUE', [[]], 'AXIS', 'y', 'METHOD', 'remove', 'INTERPOLATION', 'spline')

back to top back to top

Some information of the method ltpda_container/removeVal are listed below:
Class name ltpda_container
Method name removeVal
Category Signal Processing
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 0
Supported numeric types {'double'}




©LTP Team