Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % CTRANSPOSE overloads the ' operator for Analysis Objects. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: CTRANSPOSE overloads the ' operator for Analysis Objects. | |
5 % | |
6 % CALL: a = a1' % only with data = cdata | |
7 % | |
8 % This is just a wrapper of ao/transpose with the 'complex' parameter set | |
9 % to true. | |
10 % | |
11 % <a href="matlab:utils.helper.displayMethodInfo('ao', 'ctranspose')">Parameter Sets</a> | |
12 % | |
13 % VERSION: $Id: ctranspose.m,v 1.42 2011/04/17 15:51:45 ingo Exp $ | |
14 % | |
15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
16 | |
17 function varargout = ctranspose(varargin) | |
18 | |
19 % Check if this is a call for parameters | |
20 if utils.helper.isinfocall(varargin{:}) | |
21 varargout{1} = ao.getInfo('transpose', varargin{3}); | |
22 return | |
23 end | |
24 | |
25 pl = plist('complex', true); | |
26 if nargout > 0 | |
27 out = ltpda_run_method('transpose', varargin{:}, pl); | |
28 varargout = utils.helper.setoutputs(nargout, out); | |
29 else | |
30 ltpda_run_method('transpose', varargin{:}, pl); | |
31 varargout{1} = [varargin{:}]; | |
32 end | |
33 | |
34 end | |
35 | |
36 % END |