Fixed Point Type

Examples

Radix-4 fft in floating and fixed point for vectors of length 4^N, where N is an integer.
Radix-4 ifft in fixed point for vectors of length 4^N, where.
Example code of the use of the fixed point types in an oct-file.

Fixed Point Functions

Compute the magnitude of the fixed point value X.
See "farg".
Compute the argument of X, defined as THETA = `atan2 (Y, X)' in radians.
Compute atan (Y / X) for corresponding fixed point elements of Y and X.
Return the smallest integer not less than X.
Returns the conjuate of the fixed point value X.
Compute the cosine of the fixed point value X.
Compute the hyperbolic cosine of the fixed point value X.
Cumulative product of elements along dimension DIM.
Cumulative sum of elements along dimension DIM.
Compute the exponential of the fixed point value X.
Return the largest integer not greater than X.
Returns the imaginary part of the fixed point value X.
Compute the natural logarithm of the fixed point value X.
Compute the base-10 logarithm of the fixed point value X.
Product of elements along dimension DIM.
Returns the real part of the fixed point value X.
Return the rounded value to the nearest integer of X.
Compute the sine of the fixed point value X.
Compute the hyperbolic sine of the fixed point value X.
Compute the square-root of the fixed point value X.
Sum of elements along dimension DIM.
Sum of squares of elements along dimension DIM.
Compute the tan of the fixed point value X.
Compute the hyperbolic tan of the fixed point value X.

Fixed Point Operators

' .'
Matrix transpose of fixed point arrays.
* / \
Matrix multiplication and division for a Gradient.
** ^
Matrix exponentiation of fixed point arrays.
+ -
Addition and subtraction for a Gradient.
.* ./ .\
Element by element multiplication and division for a Gradient.
.** .^
Element by element matrix exponentiation for a Gradient.
== ~= != > >= < <=
Logical operators on fixed point arrays.

Fixed Point Utility Functions

The function `all' behaves like the function `any', except that it returns true only if all the elements of a vector, or all the elements along dimension DIM of a matrix, are nonzero.
For a vector argument, return 1 if any element of the vector is nonzero.
Concatenate two matrices regardless of their type.
Creates a lookup table betwen the vectors X and Y.
Displays out a summary of the number of fixed point operations of each type that have been used.
Return a diagonal matrix with fixed point vector V on diagonal K.
Used the create a fixed point variable.
Manual and test code for the Octave Fixed Point toolbox.
Converts a fixed point object to the equivalent floating point object.
Return a fixed matrix with M rows and N columns whose elements are taken from the fixed matrix A.
Return a copy of the fixed point variable X with the elements arranged in increasing order.
Return 1 if the value of the expression EXPR is a fixed point value.
Return the `length' of the object A.
Using the lookup table created by "create_lookup_table", find the value Y corresponding to X.
Reset the count of fixed point operations to zero.
Return the number rows and columns of A.

Fixed Point Variables

Query or set the internal variable `fixed_point_count_operations'.
Query or set the internal variable `fixed_point_debug'.
A function returning the version number of the fixed point library used.
A function returning the version number of the fixed point package used.
Query or set the internal variable `fixed_point_warn_overflow'.