function classifiedRslt = genClassifedResults(predResults)

resultCateg = {'n/a', 'P', 'QRS', 'T'};
[ ~,nCols] = size(predResults);

% pre-allocate for performance
classifiedRslt = cell(1, nCols);

% iterate over all columns and find the maximum value. Based on its index
% assign it the type
for colIndx = 1:nCols
    data = predResults(:, colIndx);
    [~, maxIndx] = max(data);
    classifiedRslt{colIndx} = resultCateg{maxIndx} ;
end

end


