diff m-toolbox/classes/@ao/ctranspose.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@ao/ctranspose.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,36 @@
+% CTRANSPOSE overloads the ' operator for Analysis Objects.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% DESCRIPTION: CTRANSPOSE overloads the ' operator for Analysis Objects.
+%
+% CALL:        a = a1'    % only with data = cdata
+% 
+% This is just a wrapper of ao/transpose with the 'complex' parameter set
+% to true.
+%
+% <a href="matlab:utils.helper.displayMethodInfo('ao', 'ctranspose')">Parameter Sets</a>
+%
+% VERSION:     $Id: ctranspose.m,v 1.42 2011/04/17 15:51:45 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function varargout = ctranspose(varargin)
+  
+  % Check if this is a call for parameters
+  if utils.helper.isinfocall(varargin{:})
+    varargout{1} = ao.getInfo('transpose', varargin{3});
+    return
+  end
+    
+  pl = plist('complex', true);
+  if nargout > 0
+    out = ltpda_run_method('transpose', varargin{:}, pl);
+    varargout = utils.helper.setoutputs(nargout, out);
+  else
+    ltpda_run_method('transpose', varargin{:}, pl);
+    varargout{1} = [varargin{:}];
+  end
+
+end
+
+% END
\ No newline at end of file