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.
205 Solvers
498 Solvers
Determine Whether an array is empty
650 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3916 Solvers
526 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!