User`s guide
Representing Time- and Frequency-Domain Data Using iddata Objects
This syntax explicitly assigns the experiment name 'Run4' to the new
experiment. The
ExperimentName property of the iddata object stores
experiment names.
For more information about subreferencing experiments in a multiexperiment
data s et, see “Subreferencing Experiments” on page 1-58.
Subreferencing iddata Objects
• “Subreferencing Input and Output Data” on page 1-55
• “Subreferencing Data C hannels” on page 1-56
• “Subreferencing Experiments” on page 1-58
Subreferencing Input and Output Data
Subreferencing data and its properties lets you select data values and assign
new d ata and property values.
Use the following general syntax to subreference specificdatavaluesin
iddata objects:
data(samples,outputchannels,inputchan nels,experimentname)
In this syntax, s amples specify one or more sample indexes, out putchannels
and inputchannels specify channel indexes or channel names, and
experimentname speci fies experiment indexes or names.
Forexample,toretrievesamples
5 through 30 in the iddata object data and
store them in a new
iddata object data_ sub, use the following syntax:
data_sub = data([5:30])
You can also use logical expressions to subreference data. For example, to
retrieve all data values that fall between sample instants
1.27 and 9.3 in the
iddata object data and assig n them to data_sub, use the following syntax:
data_sub = data(data.sa>1.27&data.sa<9.3)
1-55