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 at 16:37
This was good practice for the concept
Solution Comments
Show commentsProblem Recent Solvers6247
Suggested Problems
-
4481 Solvers
-
Project Euler: Problem 10, Sum of Primes
2074 Solvers
-
Set the array elements whose value is 13 to 0
1425 Solvers
-
Check if number exists in vector
13684 Solvers
-
Create a vector whose elements depend on the previous element
771 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!