Problem 792. Set some matrix elements to zero
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Hack.
-
2 Comments
"regexp" hack.
please check this code
problem : right angle or not
function flag = isrightangle(a,b,c)
if (c^2 == (b^2+a^2))
flag ='true'
else
flag = 'false'
end
end
-
2 Comments
Problem specification says nothing about more than one value in a row equaling the row max. Cases 5 or 6 should be included in the specification.
Thanks for the comment . I have just updated the description.
Problem Recent Solvers352
Suggested Problems
-
3009 Solvers
-
How long is the longest prime diagonal?
366 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
696 Solvers
-
540 Solvers
-
Sum of odd numbers in a matrix
397 Solvers
More from this Author30
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!