comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 % Tests conj() operator for AOs.
2 %
3 % A Monsky 09-05-07
4 %
5 % $Id: test_conj.m,v 1.11 2009/02/02 15:20:38 hewitson Exp $
6 %
7 function test_conj()
8
9 % make test complex data
10 td = complex(randn(10,1), randn(10,1));
11
12 % Load data into analysis objects
13 a1 = ao(td);
14 a1.setName;
15
16 % Calc complex conjugate
17 a2 = conj(a1);
18
19 % Plot
20 iplot(real(a1), real(a2), imag(a1), imag(a2), plist('Markers', {'All', 'o'}))
21
22 end
23 % END