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 Solvers453
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48174 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
Swap the first and last columns
19829 Solvers
-
Compute a dot product of two vectors x and y
977 Solvers
-
376 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!