function varargdemo(varargin)
% Function varargdemo demonstrates the use of varargin & nargin.
%
% Demonstrates the use of the special varargin cell array for functions
% having variable number of arguments.
%
% Input(s)
%
% varargin -- Cell array containing arguemnts.
%
% Revsion History
%
% Created 12/4/06 by Dr. C. S. Tritt

% Display the number of arguments and their values.
    disp(['There are ' int2str(nargin) ' arguments.']);
    disp('Arguments is/are: ');
    disp(varargin);
end % function varagdemo.