KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ICIAMMain.m
Go to the documentation of this file.
1 namespace models{
2 namespace iciam2011{
3 
4 
5 /* (Autoinserted by mtoc++)
6  * This source code has been filtered by the mtoc++ executable,
7  * which generates code that can be processed by the doxygen documentation tool.
8  *
9  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
10  * Except for the comments, the function bodies of your M-file functions are untouched.
11  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
12  * attached source files that are highly readable by humans.
13  *
14  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
15  * the correct locations in the source code browser.
16  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
17  */
18 
19 function [m , r , d ] = ICIAMMain(dim) {
20 
21 /* clear classes; */
22  if nargin == 0
23  dim = 1000;
24  end
25  /* % */
26  mu = [.5; 1];
27  in = 1;
28 
29  m = models.iciam2011.ICIAMExperiment(dim);
30  m.offlineGenerations;
31  r = m.buildReducedModel;
32 
33  /* % Analyze */
35  d.EstimatorIterations= [1 2];
36  d.EstimatorVersions= [1 1 0 0 1 0 0 1 1];
37  /* d.SingleFigures = true; */
38  d.setModel(r);
39 /* */
40  d.compute(mu,in);
41 /*
42  * ma = ModelAnalyzer;
43  * ma.SingleFigures = d.SingleFigures;
44  * ma.analyze(r, mu, in); */
45 
46 /* ParamSweep(r, mu, in, 1, 0:.1:.2); %-.9:.5:1.5 */
47  [pm,Y,E] = ParamSweep(r, mu, in, 1, 0:.1:1);
48 
49  /* % Experiments regardign the initial value */
50  [pm,Y,E] = ParamSweep(r, [1; 1], in, 2, 0.25:.1:1.2);
51  [pm,Y,E] = ParamSweep(r, [.5; 1], in, 2, 0.25:.1:1.2);
52  [pm,Y,E] = ParamSweep(r, [0; 1], in, 2, 0.25:.1:1.2);
53  /* Extranah
54  * ParamSweep(r, [.7; 1], 1, 2, 0.9:.001:.94); */
55 end
56 }
69 };
70 };
function [ pm , Y , E ] = ParamSweep(rmodel, mu, inputidx, param, paramvals, pm)
ParamSweep: Plots the output with error bounds for a range of one specified parameter.
Definition: ParamSweep.m:17
rowvec EstimatorIterations
How many estimator iterations should be performed?
Analysis class for the error estimators.
function [ m , r , d ] = ICIAMMain(dim)
Current version works with KerMor 0.5.
Definition: ICIAMMain.m:19
#define Y(i, j)