Problem 2865. Matlab Basics - Rounding I
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
Solution Comments
Show commentsProblem Recent Solvers442
Suggested Problems
-
Which values occur exactly three times?
4934 Solvers
-
2446 Solvers
-
Number of 1s in a binary string
8037 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10015 Solvers
-
Determine the length of a string of characters
244 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!