matlab中fix()干什么用的

珠光宝气 1年前 已收到1个回答 举报

深蓝ww 幼苗

共回答了24个问题采纳率:91.7% 举报

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

1年前

6
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 17 q. 0.034 s. - webmaster@yulucn.com