36 this.
Sampler= sampling.GridSampler;
38 this.
System= models.synth.RotationDynSys(
this);
39 this.
Name=
" Synthetic rotation model ";
60 a = approx.KernelApprox(this.
System);
61 a.Expansion.TimeKernel= kernels.GaussKernel;
62 a.Expansion.Kernel= kernels.GaussKernel(2);
64 a.Expansion.ParamKernel= kernels.GaussKernel(2);
67 this.
ODESolver= solvers.MLWrapper(@ode45);
73 ax = pm.nextPlot(
" 3d ",
" 3D plot over time (z-axis) ",
" x_1 ",
" x_2 ");
74 plot3(ax,y(2,:),y(1,:),t,
" r ");
75 ax = pm.nextPlot(
" 1d ",
" Plot over time ",
" t ",
" x_1,x_2 ");
76 plot(ax,t,y(2,:),
" r ",t,y(1,:),
" b ");
86 m = models.synth.Rotation;
88 mu = m.getRandomParam;
89 [
t,y] = m.simulate(mu);
char Name
The name of the Model.
The base class for any KerMor detailed model.
double dt
The desired time-stepsize for simulations.
sampling.BaseSampler Sampler
The sampling strategy the Model uses.
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
PlotManager: Small class that allows the same plots generated by some script to be either organized a...
solvers.BaseSolver ODESolver
The solver to use for the ODE. Must be an instance of any solvers.BaseSolver subclass.
function plot(double t,matrix< double > y)
approx.BaseApprox Approx
The approximation method for the CoreFunction.
double T
The final timestep up to which to simulate.
spacereduction.BaseSpaceReducer SpaceReducer
The reduction algorithm for subspaces.
static function test_Rotation_Simulation()