www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregcovariance/eq.m
function iseq= eq(c1,c2); % COVMODEL/EQ % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isa(c1,'xregcovariance') & isa(c2,'xregcovariance') iseq = strcmp(c1.wfunc,c2.wfunc) & ... strcmp(c1.cfunc,c2.cfunc) & length(c1.cparam)==length(c2.cparam); else iseq=0; end