view m-toolbox/test/test_ao_freq_series.m @ 44:409a22968d5e default

Add unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 18:42:11 +0100
parents f0afece42f48
children
line wrap: on
line source

function test_ao_freq_series

% Test script for frequency series AO constructor
% 
% M Hewitson 23-02-08
% 
% $Id: test_ao_freq_series.m,v 1.1 2008/02/24 21:14:43 hewitson Exp $
% 


%% default plist
pl = plist('fsfcn', '1e-15.*(1e-3./f.^2 + 1e-10./f.^4)', 'nf', 100);

a1 = ao(pl);
iplot(a1, plist('Markers', 'x'))

%% Specify frequency scale

pl = plist('fsfcn', '1./f.^2', 'scale', 'lin', 'nf', 100);
a1 = ao(pl);
iplot(a1, plist('Markers', 'x'))