Write a script to round x DOWN to the next lowest integer:
e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers509
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15826 Solvers
-
990 Solvers
-
Reverse the elements of an array
1148 Solvers
-
297 Solvers
-
calculate the length of matrix
2666 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!