Please add a test case that kills my invalid leading solution.
I misinterpreted the wiki page for sequencing which I thought was random choice to produce a 1 in 13 probability.
Weird that this works. (The fourth line is incorrect, by mistake; I had forgotten to change it after I discovered that the top card of each pile is the left-most of each group of four, not the right-most. Yet it works.)
Arrange Vector in descending order
4267 Solvers
Rotate input square matrix 90 degrees CCW without rot90
385 Solvers
Create a vector whose elements depend on the previous element
398 Solvers
Replace multiples of 5 with NaN
362 Solvers
239 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!