Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit | ![]() ![]() |
Y=mot566_length(X)
Description
mot566_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
mot566_conv mot566_xcorr
![]() | mot566_interp | mot566_log | ![]() |