MATLAB Function Reference    
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


  fitsread flipdim