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
-
Determine whether a vector is monotonically increasing
23263 Solvers
-
546 Solvers
-
Determine the number of odd integers in a vector
830 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1269 Solvers
-
Find out value of sine given by degree.
357 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!