function sum = mySum(a,b) %mySum add a and b and return the result % % consumes: a and b, scalar numbers % produces: sum, the sum of a and b, a scalar number % % example: % >> mySum(3,4) % ans = % 7 % >> % %P.Conrad CISC106 Fall 2006 10/18/2006 sum = a + b; return; end