trsp 365
trsp
Syntax
[y,uint] = trsp(Sys,u,tfinal, ord,intstep)
Parameter List
Inputs: Sys Continuous dynamic system. The initial states are used in
the simulation.
u PDM. Input signal.
tfinal Final time in the simulation (optional). Default = max
timespecifiedinu.
Keywords: ord Scalar valued. Specifies order of interpolation for continu-
ous signals in the system. Options are 0 or 1. Default =
0.
intstep Scalar valued. Integration step size. If not supplied a
default will be calculated based on the system eigenvalues.
It will be rounded to make it divide into the discrete system
sample time by an integer value of at least 2.
Outputs: y PDM. Output signal.
uint Interpolated version of u.
Description
Time domain simulation of a continuous system. This is conceptually the equivalent of:
y = Sys ∗ u.
This function allows the user more control over the parameters in the simulation.
The user can select an integration step (intstep) independently of the data spacing in
u. Furthermore, the spacing of u can be non-regular and u will be interpolated if