Motorola DSP Developer's Kit
mot566_sum
Motorola DSP Developer's Kit    
mot566_sum


Sum the elements of a matrix along rows or columns.

MATLAB Syntax

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

In the workspace, if

then

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).

Y
   The sum result of input.

See Also
mot566_diff


 mot566_sqrt mot566_xcorr