Unless I'm screwing something up, I think there are three possible answers to this question, and you're looking for the integer one? Given the answers you are looking for, A and C are always the triangles that have one full side of your square, but that's not specified in the problem statement.
I took the scenic route.
1056 Solvers
Remove the two elements next to NaN value
417 Solvers
135 Solvers
475 Solvers
Find out sum of all elements of given Matrix
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!