Mercurial > hg > ltpda
diff m-toolbox/m/gui/ltpdv/make_ltpda_objects.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/m/gui/ltpdv/make_ltpda_objects.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,22 @@ +clear all; + +%% FSDATA +p1 = pz(1); +p2 = pz(4, 20); +z1 = pz(20); +pzm1 = pzmodel(2.3, [p1 p2], z1); +r = resp(pzm1, plist('f1', 0.01, 'f2', 100, 'nf', 1000, 'scale', 'log')); + +%% TSDATA +fs = 10; +nsecs = 1000; + +ats = ao(plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', nsecs)); + +%% CDATA + +ac = ao(1:100); + +%% SPECWIN +s = specwin('Hanning', 1000); +