Mercurial > hg > ltpda
view m-toolbox/test/test_conj.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 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