view testing/utp_1.1/utps/ssm/reference_files/make_bode_references.m @ 52:daf4eab1a51e database-connection-manager tip

Fix. Default password should be [] not an empty string
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 07 Dec 2011 17:29:47 +0100
parents 409a22968d5e
children
line wrap: on
line source

% Make bode reference files for different SSM models and save to disk.
% 
% M Hewitson 27-07-10
% 
% $Id: make_bode_references.m,v 1.1 2010/07/27 07:17:17 hewitson Exp $
% 

models = {'DFACS', 'IFO'};

for kk=1:numel(models)
  
  mdl = models{kk};
  disp(['*** Making bode references for ' mdl]);
  
  pl  = plist('built-in', mdl);
  s = ssm(pl);
  out = bode(s);
  
  % save reference file
  save(out, sprintf('ref_bode_%s.mat', mdl));
  
end