Round x to the nearest integer. For example:
x = 3.2
y = 3
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers74
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53322 Solvers
-
Project Euler: Problem 7, Nth prime
1771 Solvers
-
784 Solvers
-
Calculate the area of a circle
145 Solvers
-
2679 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!