Motorola DSP Developer's Kit |
Motorola DSP Developer's Kit | ![]() ![]() |
MATLAB Syntax
Y=mot566_dspround10(X)
Description
mot566_dspround(X) rounds the elements of X to the nearest integers using "convergent rounding" algorithm
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_dspround(X)
ans= 0.4807 0.8319 - 0.2921i 0 + 0.6717i 0.5273 + 0.7144i
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_round
![]() | mot566_diff | mot566_fft | ![]() |