Method timespan/minus


  MINUS Implements subtraction operator for timespan objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: Implements subtraction operator for timespan objects. Numeric and
  string operands are transparently handled converting them to time objects.
  Vector operands are handled accordingly to MATLAB conventions.
 
 
  CALL:        bs = as - val;
               bs = as - time;
 
  INPUTS:      as: a timespan object
               val:  time or time string or numeric value
 
  OUTPUTS:     bs: a timespan object
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class timespan
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
minus
SUBTRACT 0 none The time to subtract to the start and end time of the timespan.

Example

plist('SUBTRACT', [0])

back to top back to top

Some information of the method timespan/minus are listed below:
Class name timespan
Method name minus
Category Helper
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