@@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.
329 Solvers
Get the length of a given vector
3570 Solvers
Without the French accent please!
109 Solvers
2545 Solvers
Create a Multiplication table matrix...
283 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!