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 Solvers462
Suggested Problems
-
Extract leading non-zero digit
2134 Solvers
-
3372 Solvers
-
Find the sum of the elements in the "second" diagonal
1149 Solvers
-
Back to basics 19 - character types
262 Solvers
-
Create a Multiplication table matrix...
491 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!