Problem 46736. Round to Nearest Multiple of 10^n
Round the given number , x to nearest multiple of 10^n
example x = 8137, n= 2, then y =8100
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers76
Suggested Problems
-
Find the sum of all the numbers of the input vector
47707 Solvers
-
22208 Solvers
-
Remove the two elements next to NaN value
645 Solvers
-
Set the array elements whose value is 13 to 0
1351 Solvers
-
Change the sign of even index entries of the reversed vector
525 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!