Problem 42641. MATLAB Basic: rounding
Do rounding near to zero
Example: -8.8, answer -8
+8.1 answer 8
Solution Stats
Problem Comments
-
10 Comments
Show
7 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
Pratik Shendure
on 29 Nov 2024
Rounding is a good concept
Dakota
on 26 Jan 2025
Nice
Josephine
on 19 Nov 2025
This was good practice for the concept
Solution Comments
Show commentsProblem Recent Solvers6253
Suggested Problems
-
46196 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3057 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
878 Solvers
-
Matlab Basics II - Count rows in a matrix
400 Solvers
-
495 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!