diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@ao/ln.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,34 @@
+% LN overloads the log operator for analysis objects. Natural logarithm.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% DESCRIPTION: LN overloads the log operator for analysis objects.
+%              Natural logarithm.
+%              LN(ao) is the natural logarithm of the elements of ao.data.
+%
+% CALL:        ao_out = ln(ao_in);
+%              ao_out = ln(ao_in, pl);
+%              ao_out = ln(ao1, pl1, ao_vector, ao_matrix, pl2);
+%
+% PARAMETERS:  see help for data2D/applymethod for additional parameters
+% 
+% NOTE: ao/ln is just a wrapper for ao/log.
+%
+% <a href="matlab:utils.helper.displayMethodInfo('ao', 'ln')">Parameter Sets</a>
+%
+% VERSION:     $Id: ln.m,v 1.36 2011/04/08 14:31:30 hewitson Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function varargout = ln(varargin)
+  
+  if nargout > 0
+    out = ltpda_run_method('log', varargin{:});
+    varargout = utils.helper.setoutputs(nargout, out);
+  else
+    ltpda_run_method('log', varargin{:});
+    varargout{1} = [varargin{:}];
+  end
+  
+end
+
+% END
\ No newline at end of file