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
Basics4_NonlinearKernel.m
Go to the documentation of this file.
1 namespace demos{
2 
3 
4 /* (Autoinserted by mtoc++)
5  * This source code has been filtered by the mtoc++ executable,
6  * which generates code that can be processed by the doxygen documentation tool.
7  *
8  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
9  * Except for the comments, the function bodies of your M-file functions are untouched.
10  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
11  * attached source files that are highly readable by humans.
12  *
13  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
14  * the correct locations in the source code browser.
15  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
16  */
17 
19 
20 
21 m = models.circ.RCLadder;
22 [t,y] = m.simulate([],2);
23 m.plot(t,y);
24 title(" Plot for full model ");
25 
26 m.offlineGenerations;
27 r = m.buildReducedModel;
28 [t,yr] = r.simulate([],2);
29 m.plot(t,yr);
30 title(" Plot for reduced model ");
31 m.plot(t,yr-y);
32 title(" Error plot for reduced/full model ");
33 
34 save basics4_nonlinearkernel;
35 
36 /* % Some analysis */
37 ma = ModelAnalyzer(r);
38 ma.analyzeError([],1);
39 
40 /* Für advanced:
41  * print table
42  *% DPCM
43  *% Devel
44  *% Trajectory Caching
45  * real time plotting */
46 
47 }
70 };
ModelAnalyzer: Analysis tools for reduced models and approximations.
Definition: ModelAnalyzer.m:17
function Basics4_NonlinearKernel()
Basics4_NonlinearKernel: