www.gusucode.com > ident 案例代码 matlab源码程序 > ident/MergeDataSetsExample.m

    %% Merging Data Sets
% This example shows how to create a multiexperiment |iddata| object by merging |iddata| objects,
% where each contains data from a single experiment or is a multiexperiment
% data set.
%%
% Load iddata objects |z1| and |z3|.

% Copyright 2015 The MathWorks, Inc.

load iddata1     
load iddata3     
%%
% Merge experiments |z1| and |z3| into the iddata object |z|.
z = merge(z1,z3) 
%%
% These commands create an |iddata| object that contains
% two experiments, where the experiments are assigned default names |'Exp1'| and |'Exp2'|,
% respectively.