User`s guide
Representing Time- and Frequency-Domain Data Using iddata Objects
iddata Time-Vector Properties (Continued)
Property
Description
Syntax Example
SamplingInstants
Time valu es i n th e t ime
vector, computed from the
properties
Tstart and Ts.
• For a single
experiment,
SamplingInstants
is an N-by- 1 vector.
• For m ultiex pe riement
data with
Ne
experiments, this
property is a
1-by-Ne
cell array, and each
cell contains the
sampling instants
of the co rresponding
experiment.
To retrieve the time
vector for
iddata object
data,use:
get(data,'sa')
To plot the input data as
a function of time:
plot(data.sa,data.u)
Note sa is the first
two letters of the
SamplingInstants
property that uniquely
identifies this property.
TimeUnit
Unit of time. To change the unit of the
time vector to
msec:
data.ti = 'msec'
1-61