Inverse of shiftdata

`y = unshiftdata(x,perm,nshifts)`

`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`

.

Was this topic helpful?