matlab的fix函数_matlab fix函数
发布时间:2023-05-01 00:49:35 文章来源:互联网
1、FIX(X)roundstheelementsofXtothenearestintegers


(资料图片)

1、FIX(X) rounds the elements of X to the nearest integers towards zero.向0靠拢取整。

2、例:>> fix(3.2)ans = 3>> fix(3.7)ans = 3>> fix(-3.7)ans = -3>> fix(-3.2)ans = -3。

本文分享完毕,希望对大家有所帮助。

关键词:

乐活HOT

娱乐LOVE