view m-toolbox/test/LTPDA_training/topic2/mk_testdata.m @ 37:a4b7ceae0403 database-connection-manager

Show backtrace on unit test errors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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');