ECG-Kit 1.0

File: <base>/common/default_concatenate_function.m (527 bytes)
% Description:
% 
% The default behavior of the concatenate function is to concatenate
% payloads vertically or row-wise.
% 
% 
% See also default_finish_function, ECGtask_arbitrary_function
% 
% 
% Author: Mariano Llamedo Soria (llamedom at {electron.frba.utn.edu.ar; unizar.es}
% Version: 0.1 beta
% Birthdate  : 17/4/2015
% Last update: 17/4/2015
% Copyright 2008-2015
% 
function payload = default_concatenate_function(plA, plB)

    if( isempty(plA) )
        payload = plB;
    else
        payload = [plA; plB];
    end