User`s guide

Table Of Contents
2 LTI Models
2-34
prod uces
ans =
'u'
Any valid syntax for structures extends to LTI objects. For example, given the
TF model
h = tf(1,[1,0],'variable','p');
you can reset the numerator to by typing
h.num{1} = [1 2];
or equivalently, with
h.num{1}(2) = 2;
Additional Insight into LTI Properties
By reading t his section, you can learn more about using the Ts, InputName,
OutputName, InputGroup,andOutputGroup L TI properties t hrough a set of
examples. For basic information on
Notes and Userdata, see “Generic
Properties” on page 2-26. For detailed information on the use of
InputDelay,
OutputDelay
,andioDelayMatrix, see “Ti m e D elays” on page 2-45.
Sample Time
ThesampletimepropertyTs is usedto specifythe sampling period(in seconds)
for either discrete-time or discretized continuous-time LTI models. Suppose
you want to specify
as a discrete-time transfer function model with a sampling period of 0.5
second s. To d o this, type
h = tf([1 0],[2 1 1],0.5);
hp
()
1p
=
p 2
+
Hz()
z
2z
2
z 1++
----------------------------=