function [sum,avg] = sumavg(a,b) % % [sum,avg] = sumavg(a,b) % returns sum and average % of the numbers a and b % sum = a + b; avg = sum/2;