MATLAB中fix的运用

来源:互联网 发布:新开淘宝店卖什么好卖 编辑:程序博客网 时间:2024/06/03 21:50
FIX(X) rounds the elements of X to the nearest integers   towards zero.向0靠拢取整,例:>> fix(3.2)ans =     3>> fix(3.7)ans =     3>> fix(-3.7)ans =    -3>> fix(-3.2)ans =    -3
0 0