% Function m- File: addnumbers.m % % adds two input numbers % in the command window % define two numbers c1,c2 % c1 and c2 may be real or complex numbers % type at the command prompt c=addnumbers(c1,c2) % function y=addnumbers(a,b) y=a+b;