Home > analyzePRF > utilities > identity.m

identity

PURPOSE ^

function varargout = identity(varargin)

SYNOPSIS ^

function varargout = identity(varargin)

DESCRIPTION ^

 function varargout = identity(varargin)

 <varargin> is anything

 return <varargin>.

 example:
 isequal(identity(1),1)
 [a,b] = identity(1,2);
 isequal(a,1) & isequal(b,2)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function varargout = identity(varargin)
0002 
0003 % function varargout = identity(varargin)
0004 %
0005 % <varargin> is anything
0006 %
0007 % return <varargin>.
0008 %
0009 % example:
0010 % isequal(identity(1),1)
0011 % [a,b] = identity(1,2);
0012 % isequal(a,1) & isequal(b,2)
0013 
0014 varargout = varargin;

Generated on Wed 18-Jun-2014 21:47:41 by m2html © 2005