Documentation Center

  • 評価版
  • 製品アップデート

getexp

Specific experiments from multiple-experiment data set

Syntax

d1 = getexp(data,ExperimentNumber)
d1 = getexp(data,ExperimentName)

Description

d1 = getexp(data,ExperimentNumber)

d1 = getexp(data,ExperimentName)

data is an iddata object that contains several experiments. d1 is another iddata object containing the indicated experiment(s). The reference can either be by ExperimentNumber, as in d1 = getexp(data,3) or d1 = getexp(data,[4 2]); or by ExperimentName, as in d1 = getexp(data,'Period1') or d1 = getexp(data,{'Day1','Day3'}).

See merge (iddata) and iddata for how to create multiple-experiment data objects.

You can also retrieve the experiments using a fourth subscript, as in d1 = data(:,:,:,ExperimentNumber). Type help iddata/subsref for details on this.

Was this topic helpful?