Motorola DSP Developer's Kit | ![]() ![]() |
MATLAB Syntax
Y=mot566_log(X)
Description
mot566_log(X) returns the natural logarithm value of vector or matrix X. Complex results are produced if X is either negative or complex.
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_log(X) ans=-0.7325 -0.1259 - 0.3377i -0.3979 + 1.5708i -0.1189 + 0.9350i
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_log10 mot566_sqrt
![]() | mot566_length | mot566_log10 | ![]() |