matlab中的floor是什么函数
发布网友
发布时间:2022-05-26 19:27
我来回答
共1个回答
热心网友
时间:2023-10-20 06:40
向下取整
例如
>> 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