Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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?