matlab中fix()干什么用的
问题描述:
matlab中fix()干什么用的
答
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