Problem 47925. Round to nearest integer
Round x to the nearest integer. For example:
x = 3.2
y = 3
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers73
Suggested Problems
-
14020 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1974 Solvers
-
Set the array elements whose value is 13 to 0
1428 Solvers
-
Replace multiples of 5 with NaN
465 Solvers
-
3241 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!