Problem 42641. MATLAB Basic: rounding
Do rounding near to zero
Example: -8.8, answer -8
+8.1 answer 8
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Ethan Kogut
on 8 Aug 2021
nice
PANKAJ SHARMA
on 10 Nov 2021
nice
ka rei
on 18 Nov 2023
basic
Jan
on 16 Mar 2024
cool
Schuyler
on 16 Apr 2024
very well thought problem
Andrew
on 29 Apr 2024
This problem goes crazy
Bryce
on 6 Aug 2024
sweet
Solution Comments
Show commentsProblem Recent Solvers5219
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6234 Solvers
-
Back to basics 11 - Max Integer
785 Solvers
-
Compute a dot product of two vectors x and y
989 Solvers
-
521 Solvers
-
861 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!