shiftdim
📝 Syntax
📥 Input argument
📤 Output argument
📄 Description
💡 Example
🔗 See also
🕔 History
Version
📄 Description
Last updated
Last updated
A = rand(2, 3, 4);
size(A)
% Shift the dimensions of array A by 2 positions to the left
B = shiftdim(A, 2)