Mercurial > hg > ltpda
comparison m-toolbox/classes/@ao/ln.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 % LN overloads the log operator for analysis objects. Natural logarithm. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: LN overloads the log operator for analysis objects. | |
5 % Natural logarithm. | |
6 % LN(ao) is the natural logarithm of the elements of ao.data. | |
7 % | |
8 % CALL: ao_out = ln(ao_in); | |
9 % ao_out = ln(ao_in, pl); | |
10 % ao_out = ln(ao1, pl1, ao_vector, ao_matrix, pl2); | |
11 % | |
12 % PARAMETERS: see help for data2D/applymethod for additional parameters | |
13 % | |
14 % NOTE: ao/ln is just a wrapper for ao/log. | |
15 % | |
16 % <a href="matlab:utils.helper.displayMethodInfo('ao', 'ln')">Parameter Sets</a> | |
17 % | |
18 % VERSION: $Id: ln.m,v 1.36 2011/04/08 14:31:30 hewitson Exp $ | |
19 % | |
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
21 | |
22 function varargout = ln(varargin) | |
23 | |
24 if nargout > 0 | |
25 out = ltpda_run_method('log', varargin{:}); | |
26 varargout = utils.helper.setoutputs(nargout, out); | |
27 else | |
28 ltpda_run_method('log', varargin{:}); | |
29 varargout{1} = [varargin{:}]; | |
30 end | |
31 | |
32 end | |
33 | |
34 % END |