view m-toolbox/test/test_conj.m @ 15:ce3fbb7ebe71 database-connection-manager

Remove broken functions from utils.jmysql
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% Tests conj() operator for AOs.
%
% A Monsky 09-05-07
%
% $Id: test_conj.m,v 1.11 2009/02/02 15:20:38 hewitson Exp $
%
function test_conj()
    
  % make test complex data
  td = complex(randn(10,1), randn(10,1));
  
  % Load data into analysis objects
  a1 = ao(td);
  a1.setName;
  
  % Calc complex conjugate
  a2 = conj(a1);
  
  % Plot
  iplot(real(a1), real(a2), imag(a1), imag(a2), plist('Markers', {'All', 'o'}))
  
end
% END