comparison testing/utp_1.1/utps/ssm/reference_files/make_bode_references.m @ 44:409a22968d5e default

Add unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 18:42:11 +0100
parents
children
comparison
equal deleted inserted replaced
43:bc767aaa99a8 44:409a22968d5e
1 % Make bode reference files for different SSM models and save to disk.
2 %
3 % M Hewitson 27-07-10
4 %
5 % $Id: make_bode_references.m,v 1.1 2010/07/27 07:17:17 hewitson Exp $
6 %
7
8 models = {'DFACS', 'IFO'};
9
10 for kk=1:numel(models)
11
12 mdl = models{kk};
13 disp(['*** Making bode references for ' mdl]);
14
15 pl = plist('built-in', mdl);
16 s = ssm(pl);
17 out = bode(s);
18
19 % save reference file
20 save(out, sprintf('ref_bode_%s.mat', mdl));
21
22 end
23
24