Documentation Center

  • Trial Software
  • Product Updates

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

| | |

Was this topic helpful?