The test suite has been enhanced and expanded.
nice problem
Had a tough time with this one
function y = myroundn(x,n)
y = round(x,n-1)
end
nice
nice :)
function y = myroundn(x,n)
y = round(x,n-1);
end
The Answer to Life, the Universe, and Everything
383 Solvers
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
226 Solvers
526 Solvers
Flip the vector from right to left
2677 Solvers
556 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!