MATLAB Function Reference
  Go to function:
    Search    Help Desk 
fix    Examples   See Also

Round towards zero

Syntax

Description

B = fix(A) rounds the elements of A toward zero, resulting in an array of integers. For complex A, the imaginary and real parts are rounded independently.

Examples

See Also

ceil        Round toward infinity

floor       Round towards minus infinity

round       Round to nearest integer



[ Previous | Help Desk | Next ]