-
1 Comment
Ivo Georgiev
on 8 Mar 2023
Try to remove if statement and Hyp and got one line solution:
flag = ~(-a^2 - b^2 - c^2 + 2*max([a,b,c])^2);
Suggested Problems
-
2303 Solvers
-
2354 Solvers
-
Compute a dot product of two vectors x and y
1002 Solvers
-
1168 Solvers
-
1406 Solvers
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!