shiftdata
Shift fi data to operate on specified dimension
Description
[
shifts data in y,perm,nshifts] = shiftdata(x,dim)fi object x to permute
dimension dim to the first column using the same permutation as the
built-in filter function. perm is
the permutation vector that the function uses.
Note
Use the shiftdata function in tandem with the unshiftdata function, which shifts the data back to its original shape.
These functions are useful for creating functions that work along a certain dimension,
like filter, goertzel,
sgolayfilt, and sosfilt.
Note
To shift floating-point data, use the shiftdata (Signal Processing Toolbox) and unshiftdata (Signal Processing Toolbox) functions.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2008a