Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

floor

Round symbolic matrix toward negative infinity

Syntax

floor(X)

Description

floor(X) is the matrix of the greatest integers less than or equal to X.

Examples

x = sym(-5/2);
[fix(x) floor(x) round(x) ceil(x) frac(x)]
ans =
[ -2, -3, -3, -2, -1/2]

See Also

| | |

Introduced before R2006a

Was this topic helpful?