function [y,x] = swap(x,y)

% function [x,y] = swap(x,y)
%
% assign <x> to <y> and assign <y> to <x>.
%
% example:
% [x,y] = swap(2,3);
% x==3 & y==2
