The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: dat = nkshift (dat, nk)
Function File: dat = nkshift (dat, nk, 'append')

Shift input channels of dataset dat according to integer nk. A positive value of nk means that the input channels are delayed nk samples. By default, both input and output signals are shortened by nk samples. If a third argument ’append’ is passed, the output signals are left untouched while nk zeros are appended to the (shortened) input signals such that the number of samples in dat remains constant.

Package: control