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
-
Return the 3n+1 sequence for n
8487 Solvers
-
10111 Solvers
-
227 Solvers
-
245 Solvers
-
1111 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!