function x = swapv(a, b)

x(1) = b;
x(2) = a;

