@@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.
Calculate the Levenshtein distance between two strings
456 Solvers
536 Solvers
6281 Solvers
Back to basics 11 - Max Integer
678 Solvers
Unique values without using UNIQUE function
171 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!