System Identification Toolbox    
merge (iddata)

Merge different data sets into one iddata object.

Syntax

Description

dat collects the data sets in dat1,.. datN into one iddata object, with several experiments. The number of experiments in dat will the sum of the number of experiments in datk. For the merging to be allowed a number of conditions must be satisfied:

The sampling intervals, the number of observations, and the input properties (Period, InterSample) may be different in the different experiments.

The individual experiments can be retrieved by the command getexp. The can also be retrieved by subreferencing with a fourth index:.

dat1 = dat(:,:,:,ExperimentNumber) or dat1 = dat(:,:,:,ExperimentName)

Storing multiple experiments as one iddata object may be very useful to handle experimental data that have been collected on different occasions, or when a data set has been split up to remove "bad" portions of the data. All the toolbox's routines accept multiple experiment data.

Example

Bad portions of data have been detected around sample 500 and between samples 720 - 730. Cut out these bad portions and form a multiple experiment data set that can be used to estimate models, without the bad data destroying the estimate.

Use the first two parts to estimate the model and the third one for validation.

See also iddemo #8

See Also

iddata, getexp


  LTI Commands merge (idmodel)