31 m = models.burgers.Burgers(dim,2);
34 m.ODESolver= solvers.SemiImplicitEuler(m);
37 m.SaveTag= sprintf(
" burgers_d%d_fx1_bs1 ",m.Dimension);
41 s.x0= dscomponents.ConstInitialValue(zeros(dim,1));
43 x = linspace(m.Omega(1),m.Omega(2),dim+2);
45 pos1 =
logical((x >= .1) .* (x <= .3));
46 pos2 =
logical((x >= .6) .* (x <= .7));
47 s.Inputs[1] = @(
t)[sin(2*
t*pi); (
t>.2)*(
t<.4)];
49 B(pos1,1) = 4*exp(-((x(pos1)-.2)/.03).^2);
51 s.B= dscomponents.LinearInputConv(B);
57 p = m.System.Params(1);
58 p.Range= [0.01, 0.06];
61 m.Sampler= sampling.GridSampler;
65 p = spacereduction.PODReducer;
67 p.IncludeFiniteDifferences=
false;
80 save basic3_nonlinear;
85 r = m.buildReducedModel;
88 r.System.f.Order= [25 10];
89 mu = m.getRandomParam(1,1);
91 ma.compareRedFull(mu,1);
92 ma.analyzeError(mu,1);
ModelAnalyzer: Analysis tools for reduced models and approximations.
function Basics3_Nonlinear()
Basics3_Nonlinear:
function varargout = DEIMEstimatorAnalyzer(varargin)
DEIMESTIMATORANALYZER MATLAB code for DEIMEstimatorAnalyzer.fig DEIMESTIMATORANALYZER, by itself, creates a new DEIMESTIMATORANALYZER or raises the existing singleton*.