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 Solvers472
Suggested Problems
-
Extract leading non-zero digit
2175 Solvers
-
Generate N equally spaced intervals between -L and L
879 Solvers
-
367 Solvers
-
07 - Common functions and indexing 1
438 Solvers
-
Finding an element in a vector
190 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!