www.gusucode.com > ident 案例代码 matlab源码程序 > ident/RawParameterCovarianceforIdentifiedModelArrayExample.m
%% Raw Parameter Covariance for Identified Model Array % Copyright 2015 The MathWorks, Inc. %% % Obtain the identified model array. load iddata1 z1; sys1 = tfest(z1,2); sys2 = tfest(z1,3); sysarr = stack(1,sys1,sys2); %% % |sysarr| is a 2-by-1 array of continuous-time, identified transfer functions. %% % Get the raw parameter covariance for the models in the array. cov_data = getcov(sysarr) %% % |cov_data| is a 2-by-1 cell array. |cov_data{1}| and |cov_data{2}| are % the raw parameter covariance matrices for |sys1| and |sys2|.