function[sum]=add(a,b)

%%% adds two scalars, vectors, or matrices.
%%% in file add.m
sum = a + b;