view m-toolbox/test/test_ao_cov.m @ 33:5e7477b94d94 database-connection-manager

Add known repositories list to LTPDAPreferences
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
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