Problem 43278. Make roundn function
Solution Stats
Problem Comments
-
1 Comment
goc3on 22 Nov 2016
The test suite has been enhanced and expanded.
Solution Comments
-
1 Comment
Haoran Tianon 28 Nov 2021
nice one
-
1 Comment
Josh Klueberon 11 Nov 2021
nice
-
1 Comment
Sylvain Boutroson 16 Jul 2021
That's a dumb exercise
-
2 Comments
john perkinson 4 May 2021
challenging
Isabella Stellitanoon 8 Nov 2021
Good problem
-
1 Comment
Joseph Picozzion 14 Dec 2020
nice problem
-
1 Comment
Cory Cunninghamon 11 Dec 2020
Had a tough time with this one
-
1 Comment
Umur Ulas Harmanon 30 Jun 2020
function y = myroundn(x,n)
y = round(x,n-1)
end
-
2 Comments
John Paraskevason 26 Apr 2017
nice
Doan Quang Manhon 2 Sep 2019
nice :)
Problem Recent Solvers2037
Suggested Problems
Project Euler: Problem 6, Natural numbers, squares and sums.
1545 Solvers
Generate N equally spaced intervals between -L and L
707 Solvers
344 Solvers
Make a vector of prime numbers
355 Solvers
417 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!