This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Greg
on 26 Jan 2012
Having numerical precision problems...hence the sqrt(eps).
Jean-Marie Sainthillier
on 19 Jul 2012
For me, it is difficult to make good code with the rouding error at the end.
Good problem.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!