freqz2
二维频率响应
Syntax
[H,f1,f2] = freqz2(h)
[H,f1,f2] = freqz2(h,[n1 n2])
[H,f1,f2] = freqz2(h,f1, f2)
[___] = freqz2(h,___,[dx dy])
freqz2(___)
Description
[
returnsH
,f1
,f2
] = freqz2(h
)H
,64
-by-64
frequency response ofh
, and the frequency vectorsf1
(of length64
) andf2
(of length64
).h
is a two-dimensional FIR filter, in the form of a computational molecule.
freqz2
returnsf1
andf2
as normalized frequencies in the range -1.0 to 1.0, where 1.0 corresponds to half the sampling frequency, or π radians.
[___] = freqz2(h,___,
uses[dx dy]
)[dx dy]
to override the intersample spacing inh
. You can also specify a scalar to specify the same spacing in both thexandydimensions.
freqz2(___)
produces a mesh plot of the two-dimensional magnitude frequency response when no output arguments are specified.
Examples
Input Arguments
Output Arguments
Introduced before R2006a
Was this topic helpful?