Y = fix(X)
fix(X)
X
X = [-1.9 -0.2 3.4 5.6 7.0] fix(X) = [-1 0 3 5 7]
X = [-1.9 -0.2 3.4 5.6 7.0]
fix(X) = [-1 0 3 5 7]
ceil, floor, round
ceil
floor
round
(c) Copyright 1994 by The MathWorks, Inc.