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, floor, round



[ Previous | Help Desk | Next ]