National Instruments Car Stereo System 320571-01 用户手册
Chapter 2
NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows
2-37
Part 3: NI-DSP Function Reference
DSP Hamming Window
Applies a Hamming window to the input
sequence X. If Y represents the output
sequence Hamming {X}, the elements of Y
are obtained from the formula:
sequence X. If Y represents the output
sequence Hamming {X}, the elements of Y
are obtained from the formula:
yi = xi [0.54 - 0.46 cos(w)]
for i = 0, 1, 2, …, n-1 ,
w =
2
π
i
n
,
where n is the number of elements in the input sequence X.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
data array.
data array.
Note: The operation is performed in place and the input array X is overwritten by the output
Hamming {X}.
Hamming {X} is a DSP Handle Cluster that is identical to X, but with the results of Hamming {X}
already stored in the memory buffer on the DSP board.
already stored in the memory buffer on the DSP board.
error in (no error) contains the error information from a previous VI. If an error occurs, it is passed out
error out and no other calls are made.
error out and no other calls are made.
error out contains the error information for this call.