function [ s,v ] = SumAvg( a,b ) % SumAvg(a,b) returns the sum and average % of the input arguments a and b. s = a + b; v = s/2; end