MATLAB Function Reference Previous page   Next Page
fix

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 page  fitsread flipdim Next page

© 1994-2005 The MathWorks, Inc.