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.
Sort a list of complex numbers based on far they are from the origin.
4326 Solvers
1092 Solvers
Find the peak 3n+1 sequence value
1107 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1491 Solvers
2313 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!