Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit | ![]() ![]() |
Y=mot566_sum(X) Y=mot566_sum(X,DIM)
Description
For vectors, mot566_sum(X) is the sum of the elements of X. For matrices, mot566_sum(X) is a row vector with the sum over each column.
mot566_sum(X,DIM) sums along the dimension DIM.
Characteristics
X = [0 0.1 0.2 0.3 0.4 0.1]
mot566_sum(X,1) = [0.3 0.5 0.3] mot566_sum(X,2) = [ 0.3 0.8]
Argument
X
Vector (or matrix) with elements normalized in the range [-1,1] (for complex elements, both real and imaginary parts should comply with this limit).
See Also
mot566_diff
![]() | mot566_sqrt | mot566_xcorr | ![]() |