I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton)
It's similar to the previous one, but there are multiple automatons and the problem asks for the previous step to the current state.
1767 Solvers
81 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
314 Solvers
230 Solvers
What is the nth step in Conway's Life?
20 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!