identity.m 249 B

1234567891011121314
  1. function varargout = identity(varargin)
  2. % function varargout = identity(varargin)
  3. %
  4. % <varargin> is anything
  5. %
  6. % return <varargin>.
  7. %
  8. % example:
  9. % isequal(identity(1),1)
  10. % [a,b] = identity(1,2);
  11. % isequal(a,1) & isequal(b,2)
  12. varargout = varargin;