Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit | ![]() ![]() |
MATLAB Syntax
Y=mot566_round10(X)
Description
mot566_round(X) rounds the elements of X to the nearest integers.
Characteristics
In the workspace, if the input is:
X=[0.4807 + 0.0000i 0.8319 - 0.2921i 0.0000 + 0.6717i 0.5273 + 0.7144i]
mot566_round(X) ans= 0 1.0000 0 + 1.0000i 1.0000 + 1.0000i
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_dspround
![]() | mot566_min | mot566_sort | ![]() |