MATLAB Functions Help Desk

floor

Purpose

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        Round toward infinity

fix         Round towards zero

round       Round to nearest integer



[ Previous | Help Desk | Next ]