1.Overload your functions by having variable number of input and output argumernt.Not only can we overload functions also operators. 我们可以通过不同的输入输出来重载函数,当然我们还可以重载运算符.一般来说,运算符重载只在OOP中使用到.(see varargin,varargout,nargin,nargout) varargin : Allows any num…