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
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