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 Solvers475
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1863 Solvers
-
1514 Solvers
-
Sum of odd numbers in a matrix
591 Solvers
-
10093 Solvers
-
calculate the length of matrix
1945 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!