function [sumVal, meanVal, minVal, maxVal] = vectorSummary(v)
    sumVal = sum(v);
    meanVal = mean(v);
    minVal = min(v);
    maxVal = max(v);
end

% [sumVal me mi ma]=vectorSummary(2:2:10)