view m-toolbox/test/test_ao_delay.m @ 18:947e2ff4b1b9
database-connection-manager
Update plist.FROM_REPOSITORY_PLIST and plist.TO_REPOSITORY_PLIST
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05) |
parents |
f0afece42f48 |
children |
|
line source
function test_ao_delay
% Test function for the ao/delay method
%
% M Hewitson 08-04-08
%
% $Id: test_ao_delay.m,v 1.1 2008/04/08 09:27:01 hewitson Exp $
%
clear all;
a = ao(plist('waveform', 'noise', 'fs', 100, 'nsecs', 1000, 'f', .1));
b = delay(a, plist('N', 30));
iplot(a,b, plist('Markers', {'x', 'o'}))
spl = plist('split_type', 'times', 'times', [0 900]);
c = ltpda_tfe(split(b, spl), split(a, spl), plist('Nfft', 1000, 'win', specwin('BH92', 10)));
iplot(c(1,2));