Matlab中的取整-floor,ceil,fix,round
FLOOR Round towards minus infinity.
FLOOR(X) rounds the elements of X to the nearest integers
towards minus infinity.
CEIL Round towards plus infinity.
CEIL(X) rounds the elements of X to the nearest integers
towards infinity.
FIX Round towards zero.
FIX(X) rounds the elements of X to the nearest integers
towards zero.
ROUND Round towards nearest integer.
ROUND(X) rounds the elements of X to the nearest integers.


浙公网安备 33010602011771号