view m-toolbox/test/test_report.m @ 8:2f5c9bd7d95d database-connection-manager

Clarify ltpda_uo.retrieve parameters handling
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

mc;

%% AO

pl= plist('tsfcn', 'randn(size(t))', 'fs', 10, 'nsecs', 100);
a = ao(pl);
a.setName;
a.setDescription('This is just a test AO for testing the report thingy.');
a.setProperties(plist('plotinfo', plist('a', 123)));

%% FSDATA AO

fsa = a.psd;

%% PZMODEL

pzm = pzmodel(1, {[10 2], 5}, {4,5});
pzm.setName

%% Filters

iir = miir(plist('type', 'lowpass', 'fs', 10));
fir = mfir(plist('type', 'lowpass', 'fs', 10));


%% SSM

Thrusters = ssm(plist('built-in', 'MPS', ...
  'dim', 1, ...
  'withParams', true));

ESS = ssm(plist('built-in', 'TMActuation_xcpl', ...
  'dim', 1, ...
  'withParams', true));
D = ssm(plist('built-in', 'LPF_Dynamics', ...
  'dim', 1, ...
  'withParams', true));


sm = assemble(D, Thrusters, ESS)

%% Output

outdir = 'ltpda_report_test';
report(fsa, a, pzm, sm, fir, iir, plist('dir', outdir, 'extras', true));