Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

isNonZero

Class: LagOp

Find lags associated with nonzero coefficients of LagOp objects

Syntax

indicator = isNonZero(A,testLags)

Description

Given a vector of candidate lags to test, indicator = isNonZero(A,testLags), determines which lags are associated with nonzero coefficients of a lag operator polynomial A(L).

Examples

expand all

Create a Lag Operator polynomial object and add a term with the Coefficients property:

A = LagOp({1 0.8 0.3 0.2});
A.Coefficients(7)={0.5};
isNonZero(A,7)
ans =

  logical

   1

Was this topic helpful?