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 Solvers504
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6766 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2025 Solvers
-
Matlab Basics - Pick out parts of a vector
270 Solvers
-
365 Solvers
-
204 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!