Mercurial > hg > ltpda
view m-toolbox/test/test_ao_1.m @ 49:0bcdf74587d1 database-connection-manager
Cleanup
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:36 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% Test functionality of analysis objects. % % % M Hewitson 01-02-07 % % $Id: test_ao_1.m,v 1.24 2009/02/02 15:20:39 hewitson Exp $ % function test_ao_1() % Make test AOs nsecs = 10; fs = 1000; pl = plist('nsecs', nsecs, 'fs', fs, 'tsfcn', 'randn(size(t))'); a1 = ao(pl); a2 = ao(pl); a3 = ao(pl); % Add the two analysis objects a4 = a3+a2; a5 = a4+a1; %% Plot both plot(a5.hist); % Rebuid a_out = a5.rebuild; iplot(a_out) plot(a_out.hist) end