shiftdataShifts data by rearranging dimensionsCalling SequenceParametersDescription
[y,perm,nshifts]=shiftdata(x,dim)
Shifts the entries along dimension dim in x to the first column and returns the permutation vector in perm
[y,perm,nshifts]=shiftdata(x)
Shifts the entries along dimension dim in x to the first column and returns the number of shifts in nshifts
ExamplesSee alsopermuteunshiftdataAuthorMallick