Mercurial > hg > ltpda
comparison m-toolbox/test/test_mpower.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 % A test script for the AO mpower. | |
2 % | |
3 % M Hewitson 16-03-07 | |
4 % | |
5 % $Id: test_mpower.m,v 1.13 2009/02/02 15:20:38 hewitson Exp $ | |
6 % | |
7 function test_mpower() | |
8 | |
9 | |
10 % Load data into analysis objects | |
11 a1 = ao(randn(10,10)); | |
12 | |
13 % square and plot | |
14 a3 = a1^2; | |
15 iplot(a3, plist('Markers', 'o')) | |
16 plot(a3.hist) | |
17 | |
18 | |
19 % Reproduce from history | |
20 a_out = rebuild(a3); | |
21 | |
22 iplot(a_out,'o') | |
23 plot(a_out.hist) | |
24 | |
25 end |