This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Jess Stuart
on 7 Feb 2017
Should add tolerance of 10*eps to make this function practical. Otherwise you can have a triangle with a 89.9999999 deg angle and it will say it is not a right triangle. Matlab is a numerical language.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!