%% Inputs to Current Function
% In a file named addme.m, create a function that accepts up to two inputs. Use nargin in the body of the function to determine the number of inputs.

type addme.m

% At the command prompt, call the addme function with two inputs.

c = addme(13,42)

% Call the function with one input.

c = addme(13)

% Copyright 2012 The MathWorks, Inc.