Dear all, it seems that I've made mistake with the usage of roundn and secondly roundn is behaving strangely: roundn(sqrt(2)*0.5,6) results in: 7.071069999999999e-01
I will modify the testcases.
And of course my apologies for any headaches that my mistake may have caused.
4596 Solvers
Increment a number, given its digits
562 Solvers
Return the first and last character of a string
3447 Solvers
Determine if input is a perfect number
145 Solvers
07 - Common functions and indexing 1
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!