Motorola DSP Developer's Kit | ![]() ![]() |
Return the number of elements in a vector.
MATLAB Syntax
Y=mot563_length(X)
Description
mot563_length(X) returns the length of vector X. It is equivalent to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones.
Characteristics
In the workspace, if the input is:
X=[0.3 0.7 0.5]
motdsp_length(X) ans=3
Arguments
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
mot563_conv mot563_xcorr
![]() | mot563_interp | mot563_log | ![]() |