%% Determine the Equivalence of Two Lag Polynomials
% Create a lag operator polynomial and convert it to a cell array:

A = LagOp({1 0.8 0.3 0.2});
B = toCellArray(A);
isEqLagOp(A,B)

% The converted cell array is equivalent to the LagOp polynomial object.
% Copyright 2015 The MathWorks, Inc.