view m-toolbox/test/test_ao_cov.m @ 52:daf4eab1a51e
database-connection-manager tip
Fix. Default password should be [] not an empty string
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Wed, 07 Dec 2011 17:29:47 +0100 (2011-12-07) |
parents |
f0afece42f48 |
children |
|
line source
% Test script for ao/cov
%
% M Hewitson 09-10-08
%
% $Id: test_ao_cov.m,v 1.2 2008/12/11 08:25:15 hewitson Exp $
%
function test_ao_cov
%% Make AOs
fs = 10;
nsecs = 1000;
pl = plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', nsecs);
a = ao(pl);
b = ao(pl);
c = ao(pl);
%% Make cov
cv = cov(a,b,c);
vr = cov(a,a,a);
end