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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers487
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1931 Solvers
-
Back to basics 11 - Max Integer
799 Solvers
-
Arrange vector in ascending order
798 Solvers
-
Determine the number of odd integers in a vector
793 Solvers
-
Find my daddy long leg (No 's')
2627 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!