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 Solvers452
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8855 Solvers
-
Extract leading non-zero digit
2116 Solvers
-
Number of 1s in the Binary Representation of a Number
442 Solvers
-
1183 Solvers
-
Find the Oldest Person in a Room
16564 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!