the remaining side may have many possible values.only assume integer ones for simplicity.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers25
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2823 Solvers
-
Project Euler: Problem 16, Sums of Digits of Powers of Two
189 Solvers
-
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
254 Solvers
-
1072 Solvers
-
532 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Why is an equilateral triangle not considered as isosceles?
@Gergely
my mistake..sorry
@Asif
The test suite still doesn't consider equilateral triangle as an isosceles triangle. I suggest either you update your test suite or mentioned the condition in the problem statement.
On top of what's been said already, please also don't use isequal() to compare floating point numbers, and please use isempty() to check for an empty result.