Main Content
unshiftdata
Inverse of shiftdata
Syntax
y = unshiftdata(x,perm,nshifts)
Description
y = unshiftdata(x,perm,nshifts)
restores
the orientation of the data that was shifted with shiftdata
.
The permutation vector is given by perm
, and nshifts
is
the number of shifts that was returned from shiftdata
.
unshiftdata
is meant to be used in tandem
with shiftdata
. These functions are useful for
creating functions that work along a certain dimension, like filter
, goertzel
, sgolayfilt
,
and sosfilt
.
Examples
Version History
Introduced in R2008a