www.gusucode.com > econ 案例源码程序 matlab代码 > econ/DetermineWhichLagHasANonzeroCoefficientExample.m
%% Determine Which Lag Has a Nonzero Coefficient %% % Create a Lag Operator polynomial object and add a term with the |Coefficients| property: % Copyright 2015 The MathWorks, Inc. A = LagOp({1 0.8 0.3 0.2}); A.Coefficients(7)={0.5}; isNonZero(A,7)