view m-toolbox/test/LTPDA_training/topic2/mk_testdata.m @ 46:ca0b8d4dcdb6 database-connection-manager

Fix
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:27 +0100
parents f0afece42f48
children
line wrap: on
line source

%% Make test data for whiten1D
fs = 100;
a = ao(plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', 1000,'yunits','V'));

% filter
pzm = pzmodel(1e-1, {[0.1 3]}, {[10 2]});
ft = miir(pzm,plist('fs',fs));

af = filter(a, ft);
save(af,'whiten.mat');