view m-toolbox/test/test_conj.m @ 50:7d2e2e065cf1
database-connection-manager
Update unit tests
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Wed, 07 Dec 2011 17:24:37 +0100 (2011-12-07) |
parents |
f0afece42f48 |
children |
|
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