view m-toolbox/test/test_conj.m @ 49:0bcdf74587d1 database-connection-manager

Cleanup
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:24:36 +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