From c0c0582462720ed597b00e116506570577614e89 Mon Sep 17 00:00:00 2001 From: shamikam Date: Tue, 7 Nov 2017 15:59:48 +0530 Subject: initial commit --- help/en_US/scilab_en_US_help/unshiftdata.html | 122 ++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/unshiftdata.html (limited to 'help/en_US/scilab_en_US_help/unshiftdata.html') diff --git a/help/en_US/scilab_en_US_help/unshiftdata.html b/help/en_US/scilab_en_US_help/unshiftdata.html new file mode 100644 index 0000000..15b3acf --- /dev/null +++ b/help/en_US/scilab_en_US_help/unshiftdata.html @@ -0,0 +1,122 @@ +
+ +Inverts the effect of shiftdata
y=unshiftdata(x,perm,nshifts) +Applies the permutation perm or number of shifts nshifts on x to invert shiftdata
x=testmatrix('magi',3) +x = + +8. 1. 6. +3. 5. 7. +4. 9. 2. +[y,perm,nshifts] = shiftdata(x,2) //Shifts dimension 2 +nshifts = + +[] +perm = + +2. 1. +y = + +8. 3. 4. +1. 5. 9. +6. 7. 2. +z=unshiftdata(y,perm,nshifts) +z = + +8. 1. 6. +3. 5. 7. +4. 9. 2. + +x=1:5 +x = + +1. 2. 3. 4. 5. +[y,perm,nshifts] = shiftdata(x) //Shifts first non-singleton dimension +nshifts = + +1. +perm = + +[] +y = + +1. +2. +3. +4. +5. +//z=unshiftdata(y,perm,nshifts) +z = + +1. 2. 3. 4. 5. | ![]() | ![]() |