gensig
Create periodic signals for simulating system response with
lsim
Description
[
generates a unit-amplitude periodic signal with the specified type and period. Use the
signal u
,t
] = gensig(type
,tau
)u
and corresponding time vector t
to
simulate the time response of a single-input dynamic system using lsim
or lsimplot
or to obtain response characteristics using
lsiminfo
. To create signals for multi-input systems, use repeated
calls to gensig
and stack the resulting u
vectors
into a matrix. When you use u
and t
to simulate a
dynamic system model, the software interprets t
as having the units of
the TimeUnit
property of the model.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a