Motorola DSP Developer's Kit | ![]() ![]() |
Determine the mean value of the elements of a matrix along rows or columns.
MATLAB Syntax
Y=mot566_mean(X) Y=mot566_mean(X,DIM)
Description
For vectors, mot566_mean(X) is the mean of the elements of X. For matrices, mot566_mean(X) is a row vector with the mean over each column.
mot566_mean(X,DIM) means along the dimension DIM.
Characteristics
X = [0 0.1 0.2 0.3 0.4 0.1]
mot566_mean(X,1) = [0.1500 0.2500 0.1500] mot566_mean(X,2) = [ 0.1000 0.2667]
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_sum
![]() | mot566_max | mot566_min | ![]() |