Find the hyperbolic tangent offiobjectthetausing a CORDIC implementation and specify the number of iterations the CORDIC kernel should perform. Plot the CORDIC approximation of the hyperbolic tangent of theta with varying numbers of iterations.
Angle values in radians specified as a scalar, vector, matrix, or N-dimensional array.
Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|fi
niters—Number of iterations scalar
The number of iterations that the CORDIC algorithm performs, specified as a positive, integer-valued scalar. If you do not specifyniters, the algorithm uses a default value. For fixed-point inputs, the default value ofniters是一个小于len这个词gth of the input array,theta. For double-precision inputs, the default value ofnitersis 52. For single-precision inputs, the default value is 23.
Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|fi
Tis the CORDIC-based approximation of the hyperbolic tangent oftheta. When the input to the function is floating point, the output data type is the same as the input data type. When the input is fixed point, the output has the same word length as the input, and a fraction length equal to theWordLength–2.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.