% shuffle2x2
% Shufle a 2x2 matrix
% Minas Spetsakis, Jan. 2021

A = [1,2;3,4];
B = A([2,1],[2,1]);
C = A(1:2,2);

A
B
C
