function [y,z] = inter(y,z); %INTER Interchange two vectors %[y,z] = inter(y,z) interchanges two vectors y and z %so that on output y contains z and z contains y. %input : Vectors y and z %output : Vectors y and z c = y ; y = z; z = c; end;