Determine whether filter has linear phase
flag = islinphase(b,a)
flag = islinphase(sos)
flag = islinphase(d)
flag = islinphase(...,tol)
returns
a logical output, flag
= islinphase(b
,a
)flag
, equal to true
if
the filter coefficients in b
and a
define
a linear phase filter. flag
is equal to false
if
the filter does not have linear phase.
returns flag
= islinphase(sos
)true
if
the filter specified by second order sections matrix, sos
,
has linear phase. sos
is a K-by-6
matrix, where the number of sections, K, must be
greater than or equal to 2. Each row of sos
corresponds
to the coefficients of a second order (biquad) filter. The ith
row of the sos
matrix corresponds to [bi(1)
bi(2) bi(3) ai(1) ai(2) ai(3)]
.
returns flag
= islinphase(d
)true
if
the digital filter, d
, has linear phase. Use designfilt
to generate d
based
on frequency-response specifications.
uses
the tolerance, flag
= islinphase(...,tol
)tol
, to determine when two numbers
are close enough to be considered equal. If not specified, tol
,
defaults to eps^(2/3)
.
designfilt
| digitalFilter
| isallpass
| ismaxphase
| isminphase
| isstable