Method matrix/delay


  DELAY overloads ao/delay for matrix objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: DELAY overloads ao/delay for matrix objects.
 
  CALL:        b = delay(a, pl)
               b = delay(a, tau) % in this case, fft filtering is used
 
  Time-series can be delayed either by an integer numbers of samples, or a
  time, depending on the method chosen. For delaying by an explicit time,
  you can use the fft filtering method, or a fractional delay filtering
  method.
 
  Parameters Description
 
  EXAMPLES:    1) Shift by 10 samples and zero pad the end of the time-series
                  >> b = delay(a, plist('N', 10, 'method', 'zero'));
 
               2) Shift by 0.1 seconds
                  >> b = delay(a, plist('mode', 'fftfilter', 'tau', 0.1));
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class matrix
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
delay
MODE 'sample'
  • 'sample'
  • 'fftfilter'
  • 'timedomain'
  • 'fdfilter'
The mode to use to delay the data.
TAU 0 none The delay time (s) for use in the 'fftfilter', 'timedomain', and 'fdfilter' delay modes.
N 0 none The number of samples to delay by (for use in 'sample' delay mode).
METHOD 'zero' none The method for handling the end of the time-series when using the 'sample' mode.
WINDOW 'blackman3'
  • 'blackman'
  • 'blackman3'
  • 'lagrange'
The window to use for the 'fdfilter' delay mode.
TAPS 51 none The number of taps used in the 'fdfilter' delay mode.

Example

plist('MODE', 'sample', 'TAU', [0], 'N', [0], 'METHOD', 'zero', 'WINDOW', 'blackman3', 'TAPS', [51])

back to top back to top

Some information of the method matrix/delay are listed below:
Class name matrix
Method name delay
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 1
Supported numeric types {'double'}




©LTP Team