floor

floor — rounding down

Calling sequence

[y]=floor(x)  

Parameters

x : a real matrix
y : integer matrix

Description

floor(x) returns an integer matrix made of nearest rounded down integers.

Examples



floor([1.9 -2.5])-[1,-3]
floor(-%inf)
x=rand()*10^20;floor(x)-x
 
  

See also

round, fix, ceil