42 this =
this@models.BaseFirstOrderSystem(model);
44 dim = this.
Model.Dims;
47 this.
x0= dscomponents.ConstInitialValue(zeros(this.
Model.Dims,1));
51 this.
B= dscomponents.LinearInputConv(
B);
54 A = spdiags([e -2*e e],-1:1,dim,dim);
61 this.
f= models.circ.RCLadderFun(
this, dim);
63 this.
Inputs= [@(
t)exp(-t),@(
t)(cos(2*pi*t/10) + 1)/2,...
64 @(t)
double((t-.3)>0),@(
t)(cos(pi*t)+1)/(t+1),...
65 @(
t)(cos(pi*t*.5)+1)/(t+1),@(
t)2*(t>1.3),@(
t)(cos(3*pi*t)+1)/(2*t+1)];
77 if ~isa(model,
" models.circ.RCLadder ")
78 error(
" The Model property has to be a child of models.circ.RCLadder ");
The base class for any KerMor detailed model.
dscomponents.AInputConv B
The input conversion.
Model
The Model this System is attached to.
LinearCoreFun(A)
No system reference needed for constant linear core fun.
function updateDimensions()
dscomponents.AInitialValue x0
Function handle to initial state evaluation.
RCLadderSys(models.BaseFullModel model)
Inputs
The system's possible input functions. A cell array of function handles, each taking a time argument ...
colvec StateScaling
The scaling for the state vectors.
dscomponents.LinearOutputConv C
The output conversion Defaults to an LinearOutputConv instance using a 1-matrix, which just forwards ...
dscomponents.ACoreFun f
The core f function from the dynamical system.
function validateModel(models.BaseFullModel model)
Validates if the model to be set is a valid BaseModel at least. Extracting this function out of the s...
double MaxTimestep
The maximum timestep allowed for any ODE solvers.
Base class for all KerMor first-order dynamical systems.
dscomponents.LinearCoreFun A
Represents a linear or affine-linear component of the dynamical system.