Problem 43278. Make roundn function
Solution Stats
Problem Comments
-
1 Comment
The test suite has been enhanced and expanded.
Solution Comments
-
1 Comment
nice one
-
1 Comment
nice
-
1 Comment
That's a dumb exercise
-
2 Comments
challenging
Good problem
-
1 Comment
nice problem
-
1 Comment
Had a tough time with this one
-
1 Comment
function y = myroundn(x,n)
y = round(x,n-1)
end
-
2 Comments
nice
nice :)
Problem Recent Solvers2025
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14176 Solvers
-
Sum all integers from 1 to 2^n
11058 Solvers
-
314 Solvers
-
291 Solvers
-
3820 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!