unshiftdata
Inverse of shiftdata
Description
restores the orientation of data y = unshiftdata(x,perm,nshifts)x that was shifted using the shiftdata function with permutation perm.
Note
Use the unshiftdata function in tandem with the shiftdata function. These functions are useful for creating functions that
work along a certain dimension, like filter, goertzel, sgolayfilt, and sosfilt.