Mercurial > hg > ltpda
comparison m-toolbox/test/test_ao_cov.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 % Test script for ao/cov | |
2 % | |
3 % M Hewitson 09-10-08 | |
4 % | |
5 % $Id: test_ao_cov.m,v 1.2 2008/12/11 08:25:15 hewitson Exp $ | |
6 % | |
7 | |
8 function test_ao_cov | |
9 | |
10 %% Make AOs | |
11 | |
12 fs = 10; | |
13 nsecs = 1000; | |
14 pl = plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', nsecs); | |
15 | |
16 a = ao(pl); | |
17 b = ao(pl); | |
18 c = ao(pl); | |
19 | |
20 %% Make cov | |
21 | |
22 cv = cov(a,b,c); | |
23 | |
24 vr = cov(a,a,a); | |
25 | |
26 | |
27 end |