Y = round(X
)
rounds each element of X
to the nearest integer. In the case of a tie, where an element has a fractional part of exactly 0.5
, the round
function rounds away from zero to the integer with larger magnitude.Y = ceil(X
)
rounds each element of X
to the nearest integer greater than or equal to that element.Y = fix(X
)
rounds each element of X
to the nearest integer toward zero. For positive X
, the behavior of fix
is the same as floor
. For negative X
, the behavior offix
is the same as ceil
.Y = floor(X
)
rounds each element of X
to the nearest integer less than or equal to that element.Click Here To Watch Video..!
No comments:
Post a Comment