function [ret1, ret2, ret3] = more_than_one_return(in1, in2, in3)
%function [ret1, ret2, ret3] = more_than_one_return(in1, in2, in3)
%
% This function shows how to return more than one variable at the
% same time.
%
% All this function does is swap the first and third variables, and
% leave the second one in place.
% Author: Lina Arbach <lina@lina-arbach.com>

% To call this function you must use the following structure:
%   [a, b, c] = more_than_one_return(1, 2, 3);
%
ret1 = in3;
ret2 = in2;
ret3 = in1;