matlab中floor啥意思啊

问题描述:

matlab中floor啥意思啊

向下取整
例如
>> floor(3.8)
ans = 3
help floor
FLOOR Round towards minus infinity.
FLOOR(X) rounds the elements of X to the nearest integers
towards minus infinity.
See also round,ceil,fix.
Overloaded methods:
codistributed/floor