This problem needs more test cases with the three of a kind appearing before the pair, such as:
1 0 1 0 0 0 0 0 0 0 1 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0
918 Solvers
518 Solvers
249 Solvers
Put two time series onto the same time basis
178 Solvers
494 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!