flip general · scripts/general/flip.m : B = flip (A) ¶ : B = flip (A, dim) ¶ Reverse the order of the elements of A along dimension dim. By default dim is the first non-singleton dimension.