National Instruments Car Stereo System 320571-01 用户手册

下载
页码 157
Chapter 2 NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows 2-74 Part 3:  NI-DSP Function Reference
DSP Square Root
Find a square root estimate of the absolute value
of each element of the input array X . The i
th
element of the output array is obtained using
the following formula:
Y(i) = 
X(i)| 
for  i = 0, 1, 2, …, n-1 ,
where n is the number of elements in X.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
signal array X.
Y in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that will  contain the
square root results of X(i).
Y out is a DSP Handle Cluster that is identical to Y in, but with the square root results 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 contains the error information for this call.
The operation can be performed in place; that is, the input and output arrays can be the same DSP Handle Cluster.
If the input value is negative, it calculates the square root of the absolute value of that number.