Specifications

Table Of Contents
LTI Properties
2-33
Properties” on page 2-25. For detailed information on the use of InputDelay,
OutputDelay
,andioDelay, see “Time Delays” on page 2-43.
Sample Time
The sample timeproperty Ts is usedto specify the sampling period (inseconds)
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
seconds. To do this, type
h = tf([1 0],[2 1 1],0.5);
This sets the Ts property to the value 0.5, as is confirmed by
h.Ts
ans =
0.5000
For continuous-time models, the sample time property Ts is 0 by convention.
For example, type
h = tf(1,[1 0]);
get(h,'Ts')
ans =
0
To leave the sample time of a discrete-time LTI model unspecified, set Ts to .
For example,
h = tf(1,[1 –1],–1)
produces
Transfer function:
1
-----
z – 1
Hz
()
z
2z
2
z 1++
----------------------------
=
1