MATLAB Function Reference Previous page   Next Page
floor

Round towards minus infinity

Syntax

Description

B = floor(A) rounds the elements of A to the nearest integers less than or equal to A. For complex A, the imaginary and real parts are rounded independently.

Examples

See Also

ceil, fix, round


Previous page  flipud flops Next page

© 1994-2005 The MathWorks, Inc.