@@bmtran :D .....
this solution kinda fails on this test case ... %%
hm = [0 1 0 0 0 0 0 0 0 0 0 0 1
0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0];
Found out when I used your code for the best poker hand problem ... Cheers.
Find all elements less than 0 or greater than 10 and replace them with NaN
13057 Solvers
6285 Solvers
Convert a structure into a string
95 Solvers
Output any real number that is neither positive nor negative
316 Solvers
Area of an equilateral triangle
2764 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!